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.001331/0.001331, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.001242/0.001242, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009605/0.009604, 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.001567/0.001568, allocations: 71.89 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2406, allocations: 47.12 MB / 378.4 MB, free: 53.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.004088/0.2447, allocations: 3.117 MB / 381.5 MB, free: 51.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2461, allocations: 0.7881 MB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.2463, allocations: 6.781 kB / 382.3 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.2464, allocations: 47.75 kB / 382.4 MB, free: 51.58 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.2467, allocations: 122.1 kB / 382.5 MB, free: 51.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002585/0.2469, allocations: 93.17 kB / 382.6 MB, free: 51.55 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2473, allocations: 421.3 kB / 383 MB, free: 51.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.2476, allocations: 135.1 kB / 383.1 MB, free: 51.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001414/0.2477, allocations: 154.3 kB / 383.3 MB, free: 51.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2479, allocations: 153.4 kB / 383.4 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.701e-05/0.248, allocations: 33.91 kB / 383.4 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.2481, allocations: 39.66 kB / 383.5 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.2482, allocations: 83.14 kB / 383.6 MB, free: 51.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.2483, allocations: 178 kB / 383.7 MB, free: 51.21 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003935/0.2487, allocations: 394.8 kB / 384.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2487, allocations: 7.312 kB / 384.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2487, allocations: 0 / 384.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.2487, allocations: 0.7031 kB / 384.1 MB, free: 51.04 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.000861/0.2496, allocations: 0.6246 MB / 384.8 MB, free: 50.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.2497, allocations: 13.89 kB / 384.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.294e-05/0.2497, allocations: 34.98 kB / 384.8 MB, free: 50.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.2501, allocations: 293.3 kB / 385.1 MB, free: 50.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.2501, allocations: 21.25 kB / 385.1 MB, free: 50.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.2502, allocations: 30.55 kB / 385.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.2506, allocations: 229.3 kB / 385.4 MB, free: 50.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.2506, allocations: 11.62 kB / 385.4 MB, free: 50.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.2507, allocations: 10.62 kB / 385.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2507, allocations: 7.5 kB / 385.4 MB, free: 50.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.251, allocations: 166.5 kB / 385.6 MB, free: 50.03 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.2522, allocations: 0.8053 MB / 386.4 MB, free: 49.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004898/0.2527, allocations: 195.1 kB / 386.6 MB, free: 49.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.2528, allocations: 75.58 kB / 386.6 MB, free: 49.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.2529, allocations: 2.75 kB / 386.6 MB, free: 49.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.2529, allocations: 33.14 kB / 386.7 MB, free: 49.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.2529, allocations: 1.344 kB / 386.7 MB, free: 49.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001359/0.2543, allocations: 0.9341 MB / 387.6 MB, free: 48.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.2543, allocations: 54.78 kB / 387.7 MB, free: 48.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.2546, allocations: 280.8 kB / 387.9 MB, free: 48.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2546, allocations: 30.73 kB / 388 MB, free: 48.39 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/0.2547, allocations: 188.1 kB / 388.1 MB, free: 48.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.2547, allocations: 89.33 kB / 388.2 MB, free: 48.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.2548, allocations: 54.64 kB / 388.3 MB, free: 48.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.2549, allocations: 337.2 kB / 388.6 MB, free: 47.8 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.255, allocations: 69.19 kB / 388.7 MB, free: 47.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.2551, allocations: 110.1 kB / 388.8 MB, free: 47.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2554, allocations: 189 kB / 389 MB, free: 47.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2554, allocations: 0 / 389 MB, free: 47.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000355/0.2558, allocations: 255.7 kB / 389.2 MB, free: 47.46 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2558, allocations: 13.41 kB / 389.2 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2558, allocations: 1.312 kB / 389.2 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2558, allocations: 6.438 kB / 389.2 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2561, allocations: 56.64 kB / 389.3 MB, free: 47.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2561, allocations: 6.859 kB / 389.3 MB, free: 47.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.2562, allocations: 7.438 kB / 389.3 MB, free: 47.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.2562, allocations: 11.7 kB / 389.3 MB, free: 47.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001752/0.2564, allocations: 171.8 kB / 389.5 MB, free: 47.31 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000124/0.2566, allocations: 114.8 kB / 389.6 MB, free: 47.23 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000208/0.2568, allocations: 187.9 kB / 389.8 MB, free: 47.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.773e-06/0.2568, allocations: 0.5469 kB / 389.8 MB, free: 47.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003067/0.2571, allocations: 250.4 kB / 390 MB, free: 47 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.2571, allocations: 5.5 kB / 390 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.2571, allocations: 1.891 kB / 390 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-06/0.2571, allocations: 1.375 kB / 390 MB, free: 47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.2573, allocations: 59.53 kB / 390.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2573, allocations: 3.969 kB / 390.1 MB, free: 46.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.2574, allocations: 10.75 kB / 390.1 MB, free: 46.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2575, allocations: 8.906 kB / 390.1 MB, free: 46.98 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.838e-05/0.2575, allocations: 196.5 kB / 390.3 MB, free: 46.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.712e-05/0.2576, allocations: 30.45 kB / 390.3 MB, free: 46.77 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.2579, allocations: 221.4 kB / 390.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.2579, allocations: 2.75 kB / 390.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2579, allocations: 2.125 kB / 390.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.2579, allocations: 1.781 kB / 390.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008041/0.2588, allocations: 0.7235 MB / 391.3 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2588, allocations: 2.719 kB / 391.3 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.2591, allocations: 64.3 kB / 391.4 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2591, allocations: 3.156 kB / 391.4 MB, free: 46.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.2591, allocations: 7.609 kB / 391.4 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2591, allocations: 4.219 kB / 391.4 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2591, allocations: 3.031 kB / 391.4 MB, free: 46.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.2596, allocations: 430.1 kB / 391.8 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.2597, allocations: 128.3 kB / 391.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.2597, allocations: 7.578 kB / 391.9 MB, free: 45.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.2599, allocations: 15.36 kB / 391.9 MB, free: 45.69 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.2599, allocations: 31.08 kB / 392 MB, free: 45.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.26, allocations: 6.656 kB / 392 MB, free: 45.67 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001642/0.2601, allocations: 199.5 kB / 392.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2601, allocations: 0 / 392.2 MB, free: 45.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004545/0.2606, allocations: 114.6 kB / 392.3 MB, free: 45.55 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.0001168/0.2607, allocations: 100.2 kB / 392.4 MB, free: 45.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004292/0.2611, allocations: 289.6 kB / 392.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2612, allocations: 0 / 392.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.2613, allocations: 86.98 kB / 392.7 MB, free: 45.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.2617, allocations: 50.52 kB / 392.8 MB, free: 45.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.263, allocations: 0.8291 MB / 393.6 MB, free: 44.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.2632, allocations: 0.7726 MB / 394.4 MB, free: 44.09 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001499/0.2633, allocations: 32.55 kB / 394.4 MB, free: 44.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.103e-05/0.2634, allocations: 26.03 kB / 394.5 MB, free: 44.08 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2634, allocations: 0 / 394.5 MB, free: 44.08 MB / 318.1 MB Notification: Performance of Templates: time 0.006486/0.2699, allocations: 2.951 MB / 397.4 MB, free: 43.94 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 -s cvode -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1)