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) 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/MEV 1.1.1/package.mo", uses=false) 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=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") translateModel(MEV.Test.TestCylinderUnitLinearize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitLinearize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001762/0.001762, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008854/0.008854, allocations: 1.935 MB / 272.5 MB, free: 10.07 MB / 222.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: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 64.92 kB / 378.9 MB, free: 51.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07428/0.07576, allocations: 47.14 MB / 426 MB, free: 19.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003262/0.07907, allocations: 3.119 MB / 429.2 MB, free: 16.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.0802, allocations: 0.7917 MB / 429.9 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001372/0.08036, allocations: 4 kB / 429.9 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.08054, allocations: 59.44 kB / 430 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.08073, allocations: 115 kB / 430.1 MB, free: 15.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.08098, allocations: 95.83 kB / 430.2 MB, free: 15.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002896/0.08128, allocations: 426 kB / 430.6 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.08149, allocations: 135.9 kB / 430.8 MB, free: 15.22 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.08161, allocations: 147.4 kB / 430.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.08178, allocations: 159.2 kB / 431.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.367e-05/0.08182, allocations: 36 kB / 431.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.903e-05/0.08192, allocations: 43.98 kB / 431.1 MB, free: 14.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.08196, allocations: 71.7 kB / 431.2 MB, free: 14.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.08209, allocations: 183.1 kB / 431.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.0824, allocations: 398.6 kB / 431.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.08241, allocations: 0 / 431.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.08242, allocations: 7.938 kB / 431.8 MB, free: 14.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.08243, allocations: 0 / 431.8 MB, free: 14.2 MB / 318.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.0007981/0.08323, allocations: 0.6118 MB / 432.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.08327, allocations: 11.89 kB / 432.4 MB, free: 13.52 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.409e-05/0.08334, allocations: 48.47 kB / 432.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.08366, allocations: 290.6 kB / 432.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.08368, allocations: 16.94 kB / 432.8 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.08373, allocations: 32.12 kB / 432.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.08407, allocations: 232.9 kB / 433 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.08409, allocations: 0 / 433 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.08412, allocations: 12 kB / 433 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.08413, allocations: 4 kB / 433 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.08437, allocations: 170.1 kB / 433.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.08534, allocations: 0.8105 MB / 434 MB, free: 11.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.0858, allocations: 180 kB / 434.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.08591, allocations: 80.83 kB / 434.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.08594, allocations: 4 kB / 434.3 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.08596, allocations: 42.84 kB / 434.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.333e-06/0.08597, allocations: 0 / 434.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001254/0.08723, allocations: 0.9336 MB / 435.2 MB, free: 10.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.08726, allocations: 63.34 kB / 435.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.08747, allocations: 283 kB / 435.6 MB, free: 10.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.0875, allocations: 29.7 kB / 435.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.08757, allocations: 184.2 kB / 435.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.08762, allocations: 90.66 kB / 435.9 MB, free: 9.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/0.08769, allocations: 53.98 kB / 435.9 MB, free: 9.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.08775, allocations: 334.8 kB / 436.3 MB, free: 9.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.08785, allocations: 73.97 kB / 436.3 MB, free: 9.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.08797, allocations: 109.4 kB / 436.4 MB, free: 9.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.08818, allocations: 184.2 kB / 436.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.08819, allocations: 4 kB / 436.6 MB, free: 9.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002832/0.08848, allocations: 257.7 kB / 436.9 MB, free: 8.762 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.0885, allocations: 4 kB / 436.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.08851, allocations: 3.938 kB / 436.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.08853, allocations: 7.938 kB / 436.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.08875, allocations: 59.91 kB / 436.9 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.08877, allocations: 4 kB / 436.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.08889, allocations: 12.12 kB / 437 MB, free: 8.672 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.08891, allocations: 8 kB / 437 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001493/0.08907, allocations: 180.6 kB / 437.1 MB, free: 8.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.934e-05/0.08918, allocations: 112.7 kB / 437.3 MB, free: 8.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001776/0.08936, allocations: 176.2 kB / 437.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.072e-06/0.08937, allocations: 0 / 437.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0002562/0.08963, allocations: 249.5 kB / 437.7 MB, free: 7.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-06/0.08964, allocations: 7.984 kB / 437.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.08965, allocations: 4 kB / 437.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.946e-06/0.08965, allocations: 0 / 437.7 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.08985, allocations: 63.86 kB / 437.7 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.08986, allocations: 4.125 kB / 437.7 MB, free: 7.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.08997, allocations: 8 kB / 437.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.08999, allocations: 8 kB / 437.8 MB, free: 7.828 MB / 318.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 6.757e-05/0.09006, allocations: 196.2 kB / 438 MB, free: 7.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.09012, allocations: 27.62 kB / 438 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.09041, allocations: 223.7 kB / 438.2 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.09042, allocations: 4 kB / 438.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.09043, allocations: 0 / 438.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.09044, allocations: 0 / 438.2 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.09111, allocations: 0.717 MB / 438.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.09113, allocations: 0 / 438.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.09139, allocations: 67.88 kB / 439 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.0914, allocations: 4 kB / 439 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.09142, allocations: 16.16 kB / 439 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.09143, allocations: 0 / 439 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.09144, allocations: 4 kB / 439 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003748/0.09182, allocations: 435.6 kB / 439.4 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.09191, allocations: 128.8 kB / 439.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.09195, allocations: 7.984 kB / 439.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.09212, allocations: 8 kB / 439.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.09216, allocations: 19.92 kB / 439.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.09218, allocations: 15.92 kB / 439.6 MB, free: 5.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.09232, allocations: 198 kB / 439.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09232, allocations: 4 kB / 439.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.09273, allocations: 116 kB / 439.9 MB, free: 5.531 MB / 318.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.000109/0.09285, allocations: 103.2 kB / 440 MB, free: 5.422 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.09322, allocations: 287.7 kB / 440.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.09324, allocations: 0 / 440.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.495e-05/0.09334, allocations: 88.59 kB / 440.4 MB, free: 5.055 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.09377, allocations: 64.64 kB / 440.5 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.09494, allocations: 0.851 MB / 441.3 MB, free: 4.082 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.09512, allocations: 0.7795 MB / 442.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.09519, allocations: 23.44 kB / 442.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09519, allocations: 0 / 442.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of Templates: time 0.004301/0.0995, allocations: 3.403 MB / 445.5 MB, free: 15.84 MB / 334.1 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitLinearize.makefile (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)