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.007454/0.007454, allocations: 100.2 kB / 15.73 MB, free: 6.023 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.001861/0.001861, allocations: 198.3 kB / 16.68 MB, free: 5.938 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.422/1.422, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00898/0.00898, allocations: 1.924 MB / 271.8 MB, free: 3.223 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.00142/0.00142, allocations: 63.89 kB / 378.2 MB, free: 432 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08769, allocations: 47.13 MB / 425.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.1789/0.2667, allocations: 3.103 MB / 428.5 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.2678, allocations: 0.7948 MB / 429.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.268, allocations: 5.469 kB / 429.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.2682, allocations: 53.75 kB / 429.3 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.2684, allocations: 128.3 kB / 429.5 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2686, allocations: 87.3 kB / 429.5 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003469/0.269, allocations: 424.1 kB / 430 MB, free: 9.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/0.2692, allocations: 138.4 kB / 430.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.2693, allocations: 152.6 kB / 430.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.2695, allocations: 162.6 kB / 430.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.2696, allocations: 33.62 kB / 430.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.2697, allocations: 48.16 kB / 430.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.2698, allocations: 66.3 kB / 430.5 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.2699, allocations: 195.2 kB / 430.7 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.2703, allocations: 387.3 kB / 431.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2703, allocations: 0.6094 kB / 431.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2703, allocations: 0 / 431.1 MB, free: 9.125 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2703, allocations: 1.375 kB / 431.1 MB, free: 9.125 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.0008683/0.2712, allocations: 0.6377 MB / 431.8 MB, free: 8.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.2713, allocations: 16.98 kB / 431.8 MB, free: 8.578 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.2713, allocations: 39.23 kB / 431.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2717, allocations: 289.1 kB / 432.1 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2717, allocations: 20.11 kB / 432.1 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.2718, allocations: 33.75 kB / 432.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.2722, allocations: 229.9 kB / 432.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.2722, allocations: 5.594 kB / 432.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.2722, allocations: 10.16 kB / 432.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2722, allocations: 11.09 kB / 432.4 MB, free: 8.137 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.2725, allocations: 174.1 kB / 432.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2737, allocations: 0.7979 MB / 433.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005058/0.2742, allocations: 196 kB / 433.6 MB, free: 7.461 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.2743, allocations: 76.7 kB / 433.6 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.2744, allocations: 6.422 kB / 433.6 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.2744, allocations: 41.69 kB / 433.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.2744, allocations: 1.125 kB / 433.7 MB, free: 7.375 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001424/0.2758, allocations: 0.9394 MB / 434.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.967e-05/0.2759, allocations: 53.16 kB / 434.7 MB, free: 6.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.2761, allocations: 280 kB / 434.9 MB, free: 6.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2761, allocations: 31.2 kB / 435 MB, free: 6.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/0.2762, allocations: 181.4 kB / 435.1 MB, free: 6.258 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.2763, allocations: 101.4 kB / 435.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.2764, allocations: 50.86 kB / 435.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.856e-05/0.2764, allocations: 341.1 kB / 435.6 MB, free: 5.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2765, allocations: 69.5 kB / 435.7 MB, free: 5.785 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.2767, allocations: 109.7 kB / 435.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.2769, allocations: 184.8 kB / 436 MB, free: 5.602 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2769, allocations: 5.094 kB / 436 MB, free: 5.598 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003434/0.2773, allocations: 259 kB / 436.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2773, allocations: 6.312 kB / 436.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2773, allocations: 1.031 kB / 436.2 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.2773, allocations: 6.562 kB / 436.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.2776, allocations: 64.73 kB / 436.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2776, allocations: 2.156 kB / 436.3 MB, free: 5.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.2777, allocations: 10.88 kB / 436.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.2778, allocations: 9.156 kB / 436.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000168/0.2779, allocations: 174.8 kB / 436.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001224/0.2781, allocations: 112.2 kB / 436.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002143/0.2783, allocations: 184.7 kB / 436.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.2783, allocations: 0 / 436.8 MB, free: 5.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003416/0.2786, allocations: 248 kB / 437 MB, free: 5.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.2787, allocations: 5.438 kB / 437 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2787, allocations: 2.484 kB / 437.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-06/0.2787, allocations: 6.125 kB / 437.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.2789, allocations: 64.5 kB / 437.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2789, allocations: 2.125 kB / 437.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.2791, allocations: 8.594 kB / 437.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2791, allocations: 7.562 kB / 437.1 MB, free: 4.988 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 7.207e-05/0.2792, allocations: 192.1 kB / 437.3 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-05/0.2792, allocations: 30.72 kB / 437.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.2796, allocations: 226.4 kB / 437.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.2796, allocations: 6.156 kB / 437.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.2796, allocations: 1.156 kB / 437.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.2796, allocations: 1.5 kB / 437.6 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.2804, allocations: 0.716 MB / 438.3 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2805, allocations: 5.219 kB / 438.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.2808, allocations: 61.47 kB / 438.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.2808, allocations: 4.172 kB / 438.4 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.2808, allocations: 8.094 kB / 438.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2808, allocations: 3.688 kB / 438.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2808, allocations: 2.75 kB / 438.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.2813, allocations: 435.6 kB / 438.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.2814, allocations: 132.2 kB / 438.9 MB, free: 3.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.2814, allocations: 8 kB / 438.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.2816, allocations: 6.031 kB / 439 MB, free: 3.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.2816, allocations: 22.62 kB / 439 MB, free: 3.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2817, allocations: 9.906 kB / 439 MB, free: 3.688 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.2818, allocations: 201.1 kB / 439.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2819, allocations: 0 / 439.2 MB, free: 3.574 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004723/0.2823, allocations: 117.1 kB / 439.3 MB, free: 3.559 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.0001175/0.2825, allocations: 107 kB / 439.4 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004548/0.2829, allocations: 285.2 kB / 439.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2829, allocations: 4.688 kB / 439.7 MB, free: 3.363 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.2831, allocations: 91.83 kB / 439.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.2836, allocations: 49.2 kB / 439.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2851, allocations: 0.8368 MB / 440.7 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.2853, allocations: 0.7724 MB / 441.4 MB, free: 2.062 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.2855, allocations: 39.67 kB / 441.5 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.316e-05/0.2855, allocations: 24.8 kB / 441.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2855, allocations: 0 / 441.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Templates: time 0.006763/0.2923, allocations: 3.008 MB / 444.5 MB, free: 1.801 MB / 318.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)