Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001305/0.001305, allocations: 192.8 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 229.5 MB / 247.7 MB, free: 6.32 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007422/0.0007423, allocations: 91.94 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2895/0.2895, allocations: 45.01 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002566/0.0002567, allocations: 8 kB / 470.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2831, allocations: 63.09 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1488/0.432, allocations: 140.5 MB / 0.6586 GB, free: 9.828 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.434, allocations: 2.16 MB / 0.6607 GB, free: 7.426 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.4341, allocations: 0 / 0.6607 GB, free: 7.426 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002063/0.4343, allocations: 39.8 kB / 0.6608 GB, free: 7.387 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.4344, allocations: 23.78 kB / 0.6608 GB, free: 7.363 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.4357, allocations: 388.4 kB / 0.6611 GB, free: 6.984 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.4358, allocations: 71.59 kB / 0.6612 GB, free: 6.914 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.636e-05/0.4359, allocations: 4 kB / 0.6612 GB, free: 6.91 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.436, allocations: 27.92 kB / 0.6612 GB, free: 6.883 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.4361, allocations: 31.91 kB / 0.6613 GB, free: 6.852 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.4361, allocations: 0 / 0.6613 GB, free: 6.852 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.4373, allocations: 490.8 kB / 0.6617 GB, free: 6.371 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.4373, allocations: 11.92 kB / 0.6618 GB, free: 6.359 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.4374, allocations: 49.58 kB / 0.6618 GB, free: 6.305 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006134/0.438, allocations: 327.2 kB / 0.6621 GB, free: 5.984 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.438, allocations: 0 / 0.6621 GB, free: 5.984 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.438, allocations: 0 / 0.6621 GB, free: 5.984 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.438, allocations: 4 kB / 0.6621 GB, free: 5.98 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005165/0.4386, allocations: 393.2 kB / 0.6625 GB, free: 5.551 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.4386, allocations: 8.031 kB / 0.6625 GB, free: 5.543 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.4386, allocations: 8.844 kB / 0.6625 GB, free: 5.535 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.4387, allocations: 178.9 kB / 0.6627 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.4388, allocations: 0 / 0.6627 GB, free: 5.32 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4388, allocations: 8 kB / 0.6627 GB, free: 5.312 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4389, allocations: 69.67 kB / 0.6628 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.439, allocations: 3.906 kB / 0.6628 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.439, allocations: 12 kB / 0.6628 GB, free: 5.223 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.439, allocations: 0 / 0.6628 GB, free: 5.223 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.4391, allocations: 47.95 kB / 0.6628 GB, free: 5.176 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.4395, allocations: 385.7 kB / 0.6632 GB, free: 4.73 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.4396, allocations: 58.56 kB / 0.6632 GB, free: 4.664 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.4396, allocations: 24.78 kB / 0.6633 GB, free: 4.637 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.4412, allocations: 1.221 MB / 0.6645 GB, free: 3.176 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.4413, allocations: 50.42 kB / 0.6645 GB, free: 3.117 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.4413, allocations: 0 / 0.6645 GB, free: 3.117 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.00645/0.4477, allocations: 0.6493 MB / 0.6651 GB, free: 2.461 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.4478, allocations: 51.41 kB / 0.6652 GB, free: 2.398 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.4479, allocations: 97.86 kB / 0.6653 GB, free: 2.293 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.4479, allocations: 37.69 kB / 0.6653 GB, free: 2.25 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.448, allocations: 84.33 kB / 0.6654 GB, free: 2.164 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.428e-05/0.4481, allocations: 51.3 kB / 0.6654 GB, free: 2.113 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4481, allocations: 0 / 0.6654 GB, free: 2.113 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.4482, allocations: 318.8 kB / 0.6657 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.4484, allocations: 79.94 kB / 0.6658 GB, free: 1.715 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.4486, allocations: 110.4 kB / 0.6659 GB, free: 1.598 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.449, allocations: 194.5 kB / 0.6661 GB, free: 1.398 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4491, allocations: 4 kB / 0.6661 GB, free: 1.395 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006019/0.4497, allocations: 253.5 kB / 0.6664 GB, free: 1.141 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4497, allocations: 8 kB / 0.6664 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.4497, allocations: 0 / 0.6664 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4497, allocations: 0 / 0.6664 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.4504, allocations: 55.88 kB / 0.6664 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4504, allocations: 0 / 0.6664 GB, free: 1.078 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.4509, allocations: 20.06 kB / 0.6664 GB, free: 1.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.4509, allocations: 11.98 kB / 0.6665 GB, free: 1.047 MB / 474.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001098/0.451, allocations: 121.8 kB / 0.6666 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.4511, allocations: 3.906 kB / 0.6666 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008157/0.4519, allocations: 358.1 kB / 0.6669 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4519, allocations: 0 / 0.6669 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.4519, allocations: 4 kB / 0.6669 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.452, allocations: 0 / 0.6669 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.4531, allocations: 0.768 MB / 0.6677 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4531, allocations: 0 / 0.6677 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.4537, allocations: 47.95 kB / 0.6677 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4537, allocations: 0 / 0.6677 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.4537, allocations: 7.984 kB / 0.6677 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4537, allocations: 7.938 kB / 0.6677 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4537, allocations: 3.938 kB / 0.6677 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.4543, allocations: 348.5 kB / 0.6681 GB, free: 15.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.4544, allocations: 105 kB / 0.6682 GB, free: 15.15 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/0.4545, allocations: 7.984 kB / 0.6682 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/0.455, allocations: 8 kB / 0.6682 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.086e-05/0.455, allocations: 23.89 kB / 0.6682 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.4551, allocations: 8 kB / 0.6682 GB, free: 15.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.4551, allocations: 87.27 kB / 0.6683 GB, free: 15.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4551, allocations: 0 / 0.6683 GB, free: 15.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003925/0.4555, allocations: 103.9 kB / 0.6684 GB, free: 14.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (19): * Single equations (assignments): 19 * 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.0004323/0.456, allocations: 223 kB / 0.6686 GB, free: 14.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.4564, allocations: 207.8 kB / 0.6688 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4565, allocations: 0 / 0.6688 GB, free: 14.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.4567, allocations: 127.1 kB / 0.6689 GB, free: 14.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.4571, allocations: 32.3 kB / 0.669 GB, free: 14.33 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005967/0.4577, allocations: 297.1 kB / 0.6692 GB, free: 14.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.4579, allocations: 0.6968 MB / 0.6699 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.4584, allocations: 68.73 kB / 0.67 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.4586, allocations: 35.39 kB / 0.67 GB, free: 13.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4586, allocations: 0 / 0.67 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Templates: time 0.01043/0.4691, allocations: 6.036 MB / 0.6759 GB, free: 7.156 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches