Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package MEV with version 1.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") translateModel(MEV.Test.TestCylinderUnitOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinderUnitOnOff") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 177.6 kB / 15.43 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00766/0.00766, allocations: 1.938 MB / 18.11 MB, free: 3.711 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 225.7 MB / 245.1 MB, free: 13.83 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007992/0.0007993, allocations: 88.97 kB / 296.8 MB, free: 10.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002973, allocations: 16 kB / 358.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2245, allocations: 50.88 MB / 409.3 MB, free: 50.29 MB / 330.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003317/0.2278, allocations: 3.449 MB / 412.8 MB, free: 49.31 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.2294, allocations: 1.039 MB / 413.8 MB, free: 48.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.2296, allocations: 6.688 kB / 413.8 MB, free: 48.82 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2297, allocations: 45.42 kB / 413.8 MB, free: 48.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.23, allocations: 125.5 kB / 414 MB, free: 48.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.2303, allocations: 101.7 kB / 414.1 MB, free: 48.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004175/0.2307, allocations: 499.7 kB / 414.6 MB, free: 48.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.2309, allocations: 123.9 kB / 414.7 MB, free: 48.38 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.2311, allocations: 162 kB / 414.8 MB, free: 48.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.2313, allocations: 187.1 kB / 415 MB, free: 48.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.403e-05/0.2314, allocations: 19.16 kB / 415 MB, free: 48.23 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.2315, allocations: 22.66 kB / 415.1 MB, free: 48.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.2315, allocations: 68.27 kB / 415.1 MB, free: 48.18 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002038/0.2318, allocations: 221.5 kB / 415.3 MB, free: 48.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.2322, allocations: 443.8 kB / 415.8 MB, free: 47.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2323, allocations: 0 / 415.8 MB, free: 47.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2323, allocations: 0.7188 kB / 415.8 MB, free: 47.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.2323, allocations: 1.375 kB / 415.8 MB, free: 47.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001171/0.2335, allocations: 0.6856 MB / 416.5 MB, free: 47.35 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.2335, allocations: 13.59 kB / 416.5 MB, free: 47.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.989e-05/0.2336, allocations: 42.75 kB / 416.5 MB, free: 47.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.234, allocations: 317 kB / 416.8 MB, free: 47.04 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.234, allocations: 23.41 kB / 416.8 MB, free: 47.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.2341, allocations: 38.94 kB / 416.9 MB, free: 47.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.2347, allocations: 298.2 kB / 417.2 MB, free: 46.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.2348, allocations: 1.031 kB / 417.2 MB, free: 46.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.2348, allocations: 11.75 kB / 417.2 MB, free: 46.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.2348, allocations: 7.344 kB / 417.2 MB, free: 46.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.2354, allocations: 245.8 kB / 417.4 MB, free: 46.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.2369, allocations: 0.9378 MB / 418.4 MB, free: 46.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.2375, allocations: 282.5 kB / 418.7 MB, free: 46.13 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.2377, allocations: 129.2 kB / 418.8 MB, free: 46.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.2378, allocations: 3.484 kB / 418.8 MB, free: 46.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004107/0.2382, allocations: 186.8 kB / 419 MB, free: 45.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.796e-06/0.2382, allocations: 0 / 419 MB, free: 45.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.002262/0.2405, allocations: 1.262 MB / 420.2 MB, free: 45.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.2405, allocations: 64.64 kB / 420.3 MB, free: 45.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.2408, allocations: 304.7 kB / 420.6 MB, free: 44.97 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.2408, allocations: 32.11 kB / 420.6 MB, free: 44.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.2409, allocations: 196.4 kB / 420.8 MB, free: 44.77 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.241, allocations: 118.2 kB / 420.9 MB, free: 44.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.241, allocations: 6.969 kB / 420.9 MB, free: 44.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.239e-05/0.2411, allocations: 344.2 kB / 421.3 MB, free: 44.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.2414, allocations: 110.6 kB / 421.4 MB, free: 44.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.2417, allocations: 153.8 kB / 421.5 MB, free: 44.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004911/0.2422, allocations: 286.9 kB / 421.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2422, allocations: 0 / 421.8 MB, free: 44.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000685/0.2429, allocations: 402.7 kB / 422.2 MB, free: 43.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.717e-05/0.2429, allocations: 132.4 kB / 422.3 MB, free: 43.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.2429, allocations: 1.844 kB / 422.3 MB, free: 43.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.243, allocations: 4.938 kB / 422.3 MB, free: 43.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.2433, allocations: 79.31 kB / 422.4 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2433, allocations: 2.969 kB / 422.4 MB, free: 43.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.2436, allocations: 35.02 kB / 422.4 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2436, allocations: 9.859 kB / 422.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.2436, allocations: 7.5 kB / 422.5 MB, free: 43.73 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005899/0.2442, allocations: 341.7 kB / 422.8 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.2442, allocations: 1.703 kB / 422.8 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.2442, allocations: 7.578 kB / 422.8 MB, free: 43.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.2445, allocations: 74.98 kB / 422.9 MB, free: 43.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2445, allocations: 8.203 kB / 422.9 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.2448, allocations: 30.77 kB / 422.9 MB, free: 43.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.2448, allocations: 12.53 kB / 422.9 MB, free: 43.56 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition3,$whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count,$PRE.controller.on,controller.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.000137/0.2449, allocations: 233.6 kB / 423.2 MB, free: 43.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.245, allocations: 36.89 kB / 423.2 MB, free: 43.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006206/0.2456, allocations: 345.8 kB / 423.5 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.2456, allocations: 4.844 kB / 423.5 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2456, allocations: 0 / 423.5 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2456, allocations: 2.016 kB / 423.5 MB, free: 43.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.2468, allocations: 0.9016 MB / 424.4 MB, free: 42.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2468, allocations: 1.219 kB / 424.4 MB, free: 42.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.2472, allocations: 85.52 kB / 424.5 MB, free: 42.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.2472, allocations: 5.141 kB / 424.5 MB, free: 42.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.2473, allocations: 12.02 kB / 424.5 MB, free: 42.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.2473, allocations: 3.203 kB / 424.5 MB, free: 42.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2473, allocations: 2.344 kB / 424.5 MB, free: 42.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.2481, allocations: 0.5953 MB / 425.1 MB, free: 42.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.2483, allocations: 137.4 kB / 425.3 MB, free: 42.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.222e-05/0.2483, allocations: 8.594 kB / 425.3 MB, free: 42.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.2486, allocations: 30.73 kB / 425.3 MB, free: 42.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.2487, allocations: 44.72 kB / 425.4 MB, free: 42.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.2487, allocations: 12.11 kB / 425.4 MB, free: 42.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.2489, allocations: 218.4 kB / 425.6 MB, free: 41.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2489, allocations: 0 / 425.6 MB, free: 41.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004501/0.2494, allocations: 146.2 kB / 425.7 MB, free: 41.94 MB / 330.7 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: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001085/0.2495, allocations: 112.4 kB / 425.8 MB, free: 41.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009085/0.2504, allocations: 0.5564 MB / 426.4 MB, free: 41.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2504, allocations: 0 / 426.4 MB, free: 41.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003198/0.2507, allocations: 171 kB / 426.6 MB, free: 41.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004946/0.2513, allocations: 61.5 kB / 426.6 MB, free: 41.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.2528, allocations: 1.186 MB / 427.8 MB, free: 40.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002094/0.253, allocations: 0.7955 MB / 428.6 MB, free: 40.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002088/0.2532, allocations: 44.94 kB / 428.6 MB, free: 40.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.242e-05/0.2533, allocations: 32.16 kB / 428.7 MB, free: 40.05 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.2533, allocations: 0 / 428.7 MB, free: 40.05 MB / 330.7 MB Notification: Performance of Templates: time 0.007914/0.2612, allocations: 3.902 MB / 432.6 MB, free: 39.37 MB / 330.7 MB make -j1 -f MEV_MEV.Test.TestCylinderUnitOnOff.makefile (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & ./MEV_MEV.Test.TestCylinderUnitOnOff -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1)