Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") translateModel(ModelicaTest.Blocks.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 99.23 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.345/1.345, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2916/0.2916, allocations: 39.99 MB / 310.4 MB, free: 9.684 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005078, allocations: 15.98 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.109, allocations: 57.95 MB / 436.7 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Hysteresis): time 0.001641/0.1107, allocations: 1.155 MB / 437.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006978/0.1114, allocations: 424.3 kB / 438.3 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.1115, allocations: 7.938 kB / 438.3 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.1115, allocations: 3.938 kB / 438.3 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 5.553e-05/0.1116, allocations: 3.984 kB / 438.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001879/0.1118, allocations: 11.98 kB / 438.3 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.1118, allocations: 19.97 kB / 438.4 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.496e-05/0.1119, allocations: 8 kB / 438.4 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.112, allocations: 19.91 kB / 438.4 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.639e-05/0.1121, allocations: 19.86 kB / 438.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1121, allocations: 0 / 438.4 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.1122, allocations: 4 kB / 438.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.1122, allocations: 0 / 438.4 MB, free: 0.625 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.002e-05/0.1122, allocations: 33.7 kB / 438.4 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 5.61e-05/0.1123, allocations: 11.97 kB / 438.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1123, allocations: 0 / 438.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1123, allocations: 4 kB / 438.5 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1123, allocations: 3.938 kB / 438.5 MB, free: 0.5664 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004486/0.1128, allocations: 351.5 kB / 438.8 MB, free: 180 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1128, allocations: 8.031 kB / 438.8 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1129, allocations: 11.86 kB / 438.8 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.113, allocations: 171 kB / 439 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.113, allocations: 4 kB / 439 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.1131, allocations: 4 kB / 439 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.1132, allocations: 63.39 kB / 439.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1133, allocations: 0 / 439.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1133, allocations: 3.938 kB / 439.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1133, allocations: 0 / 439.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1134, allocations: 35.88 kB / 439.1 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003892/0.1138, allocations: 261 kB / 439.4 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.757e-05/0.1139, allocations: 34.56 kB / 439.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.1139, allocations: 0 / 439.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.1139, allocations: 34.56 kB / 439.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.1139, allocations: 64 / 439.4 MB, free: 15.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002394/0.1142, allocations: 77.47 kB / 439.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.1142, allocations: 77.11 kB / 439.6 MB, free: 15.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.1143, allocations: 113.8 kB / 439.7 MB, free: 15.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1143, allocations: 29.83 kB / 439.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.1144, allocations: 88.12 kB / 439.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.1144, allocations: 7.906 kB / 439.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.1144, allocations: 0 / 439.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.1145, allocations: 314.8 kB / 440.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.1146, allocations: 11.98 kB / 440.1 MB, free: 14.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.221e-05/0.1146, allocations: 29.72 kB / 440.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.1147, allocations: 15.98 kB / 440.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1147, allocations: 0 / 440.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001238/0.1148, allocations: 61.61 kB / 440.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1149, allocations: 11.59 kB / 440.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1149, allocations: 0 / 440.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1149, allocations: 0 / 440.2 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.115, allocations: 8.031 kB / 440.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.115, allocations: 7.891 kB / 440.3 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.115, allocations: 11.98 kB / 440.3 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.1151, allocations: 8.141 kB / 440.3 MB, free: 14.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.975e-05/0.1151, allocations: 105.8 kB / 440.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.1152, allocations: 11.89 kB / 440.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.1152, allocations: 7.531 kB / 440.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1152, allocations: 7.984 kB / 440.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1152, allocations: 0 / 440.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1152, allocations: 3.953 kB / 440.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.1154, allocations: 161.7 kB / 440.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1154, allocations: 0 / 440.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.951e-05/0.1154, allocations: 7.938 kB / 440.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1154, allocations: 0 / 440.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1154, allocations: 0 / 440.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1155, allocations: 3.938 kB / 440.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1155, allocations: 4 kB / 440.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.1156, allocations: 159.5 kB / 440.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.099e-05/0.1157, allocations: 77.11 kB / 440.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.1157, allocations: 0 / 440.8 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.1158, allocations: 11.98 kB / 440.8 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.1158, allocations: 12.02 kB / 440.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.1159, allocations: 0 / 440.8 MB, free: 13.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.053e-05/0.1159, allocations: 91.27 kB / 440.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1159, allocations: 0 / 440.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002093/0.1161, allocations: 7.906 kB / 440.9 MB, free: 13.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.569e-05/0.1162, allocations: 99.19 kB / 441 MB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.1164, allocations: 39.92 kB / 441.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1164, allocations: 4 kB / 441.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.1164, allocations: 15.98 kB / 441.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.1166, allocations: 0 / 441.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.1168, allocations: 132.6 kB / 441.2 MB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.117, allocations: 0.6888 MB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.1171, allocations: 4 kB / 441.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.1171, allocations: 7.438 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.1171, allocations: 0 / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of Templates: time 0.002337/0.1195, allocations: 492.4 kB / 442.4 MB, free: 12.24 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Hysteresis.pipe 2>&1) Environment - environmentSimulation: