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.005792/0.005792, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001397/0.001397, allocations: 192.2 kB / 16.79 MB, free: 5.809 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.355/1.355, allocations: 205.1 MB / 222.6 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008934/0.008934, allocations: 1.939 MB / 271.9 MB, free: 3.535 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.00143/0.00143, allocations: 64.47 kB / 329.8 MB, free: 33.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07203/0.07347, allocations: 47.14 MB / 376.9 MB, free: 2.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.004309/0.07782, allocations: 3.54 MB / 380.5 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.07933, allocations: 0.8309 MB / 381.3 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001569/0.07951, allocations: 4 kB / 381.3 MB, free: 13.67 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.07972, allocations: 43.67 kB / 381.4 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.07995, allocations: 111.2 kB / 381.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.08019, allocations: 67.95 kB / 381.5 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.08056, allocations: 406 kB / 381.9 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.08077, allocations: 119.3 kB / 382.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.08093, allocations: 127.4 kB / 382.2 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.08111, allocations: 159.2 kB / 382.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.08116, allocations: 16 kB / 382.3 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.08126, allocations: 31.98 kB / 382.4 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.942e-05/0.08132, allocations: 51.72 kB / 382.4 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.08149, allocations: 167.1 kB / 382.6 MB, free: 12.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.08177, allocations: 295.3 kB / 382.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.08178, allocations: 0 / 382.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.08179, allocations: 0 / 382.9 MB, free: 12.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.146e-06/0.08181, allocations: 3.938 kB / 382.9 MB, free: 12.11 MB / 286.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.000982/0.0828, allocations: 0.6312 MB / 383.5 MB, free: 11.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.08284, allocations: 12.03 kB / 383.5 MB, free: 11.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.08293, allocations: 32.56 kB / 383.6 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.08327, allocations: 294.6 kB / 383.8 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.0833, allocations: 20.94 kB / 383.9 MB, free: 11.04 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.08336, allocations: 32.03 kB / 383.9 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.08379, allocations: 232.9 kB / 384.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.08381, allocations: 0 / 384.1 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.08384, allocations: 12 kB / 384.1 MB, free: 10.76 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.08386, allocations: 4 kB / 384.1 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.08416, allocations: 170.2 kB / 384.3 MB, free: 10.59 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.08545, allocations: 0.8066 MB / 385.1 MB, free: 9.73 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.086, allocations: 186.5 kB / 385.3 MB, free: 9.539 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.08614, allocations: 80.83 kB / 385.4 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.08617, allocations: 3.938 kB / 385.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.08621, allocations: 38.56 kB / 385.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.08622, allocations: 0 / 385.4 MB, free: 9.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001619/0.08784, allocations: 0.9481 MB / 386.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.08789, allocations: 55.41 kB / 386.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.08817, allocations: 271 kB / 386.7 MB, free: 8.027 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.0882, allocations: 29.7 kB / 386.7 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.08832, allocations: 184.3 kB / 386.9 MB, free: 7.805 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.956e-05/0.08838, allocations: 86.67 kB / 387 MB, free: 7.719 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.569e-05/0.08848, allocations: 61.88 kB / 387 MB, free: 7.652 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.0886, allocations: 338.8 kB / 387.4 MB, free: 7.312 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.08873, allocations: 69.97 kB / 387.4 MB, free: 7.242 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.08888, allocations: 109.3 kB / 387.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.08915, allocations: 188.7 kB / 387.7 MB, free: 6.922 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.08916, allocations: 0 / 387.7 MB, free: 6.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003662/0.08953, allocations: 245.3 kB / 388 MB, free: 6.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.08956, allocations: 4 kB / 388 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.08957, allocations: 3.938 kB / 388 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.08959, allocations: 7.938 kB / 388 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.08985, allocations: 60.09 kB / 388 MB, free: 6.602 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.08987, allocations: 7.938 kB / 388 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.09, allocations: 8 kB / 388.1 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.09003, allocations: 8 kB / 388.1 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001957/0.09023, allocations: 172.7 kB / 388.2 MB, free: 6.406 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001336/0.09038, allocations: 112.7 kB / 388.3 MB, free: 6.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002472/0.09063, allocations: 192.4 kB / 388.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-06/0.09064, allocations: 3.938 kB / 388.5 MB, free: 6.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003655/0.09101, allocations: 245.2 kB / 388.8 MB, free: 5.828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.09102, allocations: 4 kB / 388.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-06/0.09103, allocations: 0 / 388.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.078e-06/0.09104, allocations: 8.125 kB / 388.8 MB, free: 5.816 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.09127, allocations: 59.84 kB / 388.8 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.09128, allocations: 4 kB / 388.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.09141, allocations: 11.91 kB / 388.9 MB, free: 5.742 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.09142, allocations: 8 kB / 388.9 MB, free: 5.734 MB / 286.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.0001111/0.09154, allocations: 196.1 kB / 389.1 MB, free: 5.535 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.0916, allocations: 31.66 kB / 389.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.09198, allocations: 223.8 kB / 389.3 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.09199, allocations: 8 kB / 389.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.092, allocations: 0 / 389.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.09201, allocations: 0 / 389.3 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009251/0.09294, allocations: 0.7129 MB / 390 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.09296, allocations: 12.14 kB / 390 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003088/0.09328, allocations: 67.89 kB / 390.1 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.09329, allocations: 0 / 390.1 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.09331, allocations: 4 kB / 390.1 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.09332, allocations: 8 kB / 390.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.09333, allocations: 0 / 390.1 MB, free: 4.395 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005165/0.09385, allocations: 431.2 kB / 390.5 MB, free: 3.941 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.09398, allocations: 124.8 kB / 390.7 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.331e-05/0.09403, allocations: 8 kB / 390.7 MB, free: 3.793 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.09421, allocations: 11.98 kB / 390.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.09427, allocations: 23.86 kB / 390.7 MB, free: 3.758 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.09429, allocations: 12 kB / 390.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.09448, allocations: 202 kB / 390.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09449, allocations: 0 / 390.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.09496, allocations: 112 kB / 391 MB, free: 3.441 MB / 286.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.0001211/0.09509, allocations: 103.2 kB / 391.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00046/0.09556, allocations: 276.1 kB / 391.4 MB, free: 3.059 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.09557, allocations: 4.062 kB / 391.4 MB, free: 3.055 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.0957, allocations: 91.84 kB / 391.5 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.09618, allocations: 52.75 kB / 391.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.09773, allocations: 0.9796 MB / 392.5 MB, free: 1.891 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.09807, allocations: 0.7717 MB / 393.3 MB, free: 1.094 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.09815, allocations: 27.44 kB / 393.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09816, allocations: 0 / 393.3 MB, free: 1.066 MB / 286.1 MB Notification: Performance of Templates: time 0.005374/0.1035, allocations: 3.384 MB / 396.7 MB, free: 13.68 MB / 302.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)