Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 188 kB / 22.22 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 207.6 MB / 233 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.0099/0.0099, allocations: 1.958 MB / 287.2 MB, free: 3.883 MB / 222.1 MB
"
[Timeout remaining time 180]
Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize")
translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") [Timeout 660]
"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: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 68.14 kB / 402.2 MB, free: 50.66 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08788/0.08992, allocations: 49.71 MB / 451.9 MB, free: 5.789 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003379/0.0933, allocations: 3.155 MB / 455.1 MB, free: 2.613 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001025/0.09433, allocations: 0.7993 MB / 455.9 MB, free: 1.809 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.09447, allocations: 4 kB / 455.9 MB, free: 1.805 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.09462, allocations: 51.48 kB / 455.9 MB, free: 1.754 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.0948, allocations: 130.9 kB / 456.1 MB, free: 1.625 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.09505, allocations: 87.92 kB / 456.2 MB, free: 1.539 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002812/0.09533, allocations: 426 kB / 456.6 MB, free: 1.121 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.09552, allocations: 96.33 kB / 456.7 MB, free: 1.023 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.09565, allocations: 155.3 kB / 456.8 MB, free: 0.8711 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.09581, allocations: 163.2 kB / 457 MB, free: 0.7109 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.09585, allocations: 36 kB / 457 MB, free: 0.6758 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 8.628e-05/0.09594, allocations: 40 kB / 457.1 MB, free: 0.6367 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.653e-05/0.09598, allocations: 71.7 kB / 457.1 MB, free: 0.5664 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000121/0.0961, allocations: 187.1 kB / 457.3 MB, free: 392 kB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.09648, allocations: 394.5 kB / 457.7 MB, free: 15.99 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.09648, allocations: 7.938 kB / 457.7 MB, free: 15.98 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.272e-06/0.09649, allocations: 0 / 457.7 MB, free: 15.98 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.264e-06/0.09649, allocations: 0 / 457.7 MB, free: 15.98 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 65
 * Number of variables: 65
Notification: Performance of Generate backend data structure: time 0.001024/0.09752, allocations: 0.5595 MB / 458.3 MB, free: 15.39 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.09755, allocations: 15.98 kB / 458.3 MB, free: 15.38 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.09762, allocations: 40.7 kB / 458.3 MB, free: 15.34 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.09803, allocations: 229 kB / 458.5 MB, free: 15.09 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.747e-05/0.09807, allocations: 17.03 kB / 458.6 MB, free: 15.07 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.878e-05/0.09813, allocations: 36.12 kB / 458.6 MB, free: 15.04 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004413/0.09858, allocations: 230.1 kB / 458.8 MB, free: 14.81 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.0986, allocations: 3.953 kB / 458.8 MB, free: 14.81 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.09862, allocations: 8 kB / 458.8 MB, free: 14.8 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.09863, allocations: 8 kB / 458.8 MB, free: 14.79 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003049/0.09894, allocations: 182.5 kB / 459 MB, free: 14.61 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.1003, allocations: 0.7609 MB / 459.8 MB, free: 13.8 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005303/0.1008, allocations: 174.6 kB / 459.9 MB, free: 13.62 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1009, allocations: 73.17 kB / 460 MB, free: 13.55 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.1009, allocations: 7.953 kB / 460 MB, free: 13.54 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.101, allocations: 30.56 kB / 460.1 MB, free: 13.5 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.101, allocations: 3.938 kB / 460.1 MB, free: 13.5 MB / 334.1 MB
Notification: Performance of matching and sorting (n=25): time 0.001721/0.1027, allocations: 0.7902 MB / 460.8 MB, free: 12.66 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.933e-05/0.1027, allocations: 55.34 kB / 460.9 MB, free: 12.59 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.1031, allocations: 284.2 kB / 461.2 MB, free: 12.31 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.1031, allocations: 25.7 kB / 461.2 MB, free: 12.28 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.1033, allocations: 184.6 kB / 461.4 MB, free: 12.09 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.774e-05/0.1033, allocations: 99.31 kB / 461.5 MB, free: 12 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.202e-05/0.1034, allocations: 53.98 kB / 461.5 MB, free: 11.94 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001563/0.1036, allocations: 338.8 kB / 461.9 MB, free: 11.6 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.1037, allocations: 77.89 kB / 461.9 MB, free: 11.52 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.1038, allocations: 105.3 kB / 462 MB, free: 11.4 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1041, allocations: 200.2 kB / 462.2 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1041, allocations: 0 / 462.2 MB, free: 11.19 MB / 334.1 MB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003808/0.1045, allocations: 249.3 kB / 462.5 MB, free: 10.94 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.1045, allocations: 8 kB / 462.5 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1045, allocations: 3.984 kB / 462.5 MB, free: 10.93 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.332e-05/0.1046, allocations: 7.938 kB / 462.5 MB, free: 10.92 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.1048, allocations: 51.92 kB / 462.6 MB, free: 10.87 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.1048, allocations: 8.125 kB / 462.6 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1049, allocations: 8 kB / 462.6 MB, free: 10.86 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1049, allocations: 11.98 kB / 462.6 MB, free: 10.84 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002109/0.1051, allocations: 172.7 kB / 462.7 MB, free: 10.67 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001381/0.1053, allocations: 112.1 kB / 462.9 MB, free: 10.55 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002525/0.1055, allocations: 188.4 kB / 463 MB, free: 10.35 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.92e-07/0.1055, allocations: 0 / 463 MB, free: 10.35 MB / 334.1 MB
Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003585/0.1059, allocations: 249.3 kB / 463.3 MB, free: 10.1 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.948e-06/0.1059, allocations: 8 kB / 463.3 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-06/0.1059, allocations: 0 / 463.3 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-06/0.1059, allocations: 4 kB / 463.3 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1061, allocations: 63.98 kB / 463.4 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1061, allocations: 4 kB / 463.4 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1062, allocations: 4 kB / 463.4 MB, free: 10.02 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.1063, allocations: 11.98 kB / 463.4 MB, free: 10 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (34):
 * Single equations (assignments): 34
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.1064, allocations: 192.2 kB / 463.6 MB, free: 9.809 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.1064, allocations: 31.81 kB / 463.6 MB, free: 9.777 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.1068, allocations: 228 kB / 463.8 MB, free: 9.547 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1068, allocations: 0 / 463.8 MB, free: 9.547 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.1068, allocations: 4 kB / 463.8 MB, free: 9.543 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1068, allocations: 7.984 kB / 463.8 MB, free: 9.535 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.1078, allocations: 0.6809 MB / 464.5 MB, free: 8.789 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1078, allocations: 4 kB / 464.5 MB, free: 8.785 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.1081, allocations: 60.06 kB / 464.6 MB, free: 8.727 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1081, allocations: 4 kB / 464.6 MB, free: 8.723 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.1081, allocations: 11.98 kB / 464.6 MB, free: 8.711 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1081, allocations: 4 kB / 464.6 MB, free: 8.707 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1081, allocations: 3.938 kB / 464.6 MB, free: 8.703 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.1087, allocations: 431.4 kB / 465 MB, free: 8.25 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1088, allocations: 55.81 kB / 465.1 MB, free: 8.195 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.1088, allocations: 4 kB / 465.1 MB, free: 8.191 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.109, allocations: 12 kB / 465.1 MB, free: 8.18 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.109, allocations: 19.91 kB / 465.1 MB, free: 8.16 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.1091, allocations: 11.98 kB / 465.1 MB, free: 8.148 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0002032/0.1093, allocations: 203.1 kB / 465.3 MB, free: 7.949 MB / 334.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.1093, allocations: 0 / 465.3 MB, free: 7.949 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004563/0.1097, allocations: 116 kB / 465.4 MB, free: 7.836 MB / 334.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (26):
 * Single equations (assignments): 26
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.1099, allocations: 99.19 kB / 465.5 MB, free: 7.73 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005288/0.1104, allocations: 267.7 kB / 465.8 MB, free: 7.469 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1104, allocations: 0.5 kB / 465.8 MB, free: 7.469 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1105, allocations: 87.84 kB / 465.9 MB, free: 7.383 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.111, allocations: 56.92 kB / 465.9 MB, free: 7.324 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.1127, allocations: 0.8307 MB / 466.8 MB, free: 6.445 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.1131, allocations: 0.7756 MB / 467.5 MB, free: 5.645 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 0.00014/0.1132, allocations: 38.25 kB / 467.6 MB, free: 5.605 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.1133, allocations: 27.44 kB / 467.6 MB, free: 5.578 MB / 334.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.1133, allocations: 0 / 467.6 MB, free: 5.578 MB / 334.1 MB
Notification: Performance of Templates: time 0.007786/0.1211, allocations: 3.201 MB / 470.8 MB, free: 2.375 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile [Timeout 660]
(rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & ./MEV_MEV.Test.TestCylinderUnitLinearize  -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.380678321234882]
Failed to read output from testmodel.py, exit status != 0:
0.12932464107871056 0.144168882 0.044643788000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8f8a1397b0>