Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 112 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.325/0.325, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2846, allocations: 60.8 MB / 0.5064 GB, free: 38.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1473/0.4319, allocations: 149.2 MB / 0.6521 GB, free: 10.39 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.4334, allocations: 1.234 MB / 0.6533 GB, free: 9.152 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.4334, allocations: 0 / 0.6533 GB, free: 9.152 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.4336, allocations: 39.84 kB / 0.6534 GB, free: 9.113 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 3.483e-05/0.4337, allocations: 23.78 kB / 0.6534 GB, free: 9.09 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009899/0.4347, allocations: 384.5 kB / 0.6538 GB, free: 8.715 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.4347, allocations: 63.55 kB / 0.6538 GB, free: 8.652 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.4348, allocations: 7.984 kB / 0.6538 GB, free: 8.645 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.4349, allocations: 31.86 kB / 0.6539 GB, free: 8.613 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.38e-05/0.4349, allocations: 27.92 kB / 0.6539 GB, free: 8.586 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.297e-06/0.4349, allocations: 0 / 0.6539 GB, free: 8.586 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009234/0.4359, allocations: 0.4988 MB / 0.6544 GB, free: 8.086 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.4359, allocations: 11.92 kB / 0.6544 GB, free: 8.074 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.4359, allocations: 23.92 kB / 0.6544 GB, free: 8.051 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004731/0.4364, allocations: 319.3 kB / 0.6547 GB, free: 7.738 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4364, allocations: 0 / 0.6547 GB, free: 7.738 MB / 474.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.4364, allocations: 0 / 0.6547 GB, free: 7.738 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.4365, allocations: 0 / 0.6547 GB, free: 7.738 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.0004965/0.437, allocations: 407.3 kB / 0.6551 GB, free: 7.293 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.437, allocations: 8.031 kB / 0.6551 GB, free: 7.285 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.437, allocations: 8.922 kB / 0.6551 GB, free: 7.277 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.875e-05/0.4371, allocations: 163 kB / 0.6553 GB, free: 7.078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4372, allocations: 8 kB / 0.6553 GB, free: 7.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.4372, allocations: 7.906 kB / 0.6553 GB, free: 7.062 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.4373, allocations: 74.17 kB / 0.6554 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4373, allocations: 3.938 kB / 0.6554 GB, free: 6.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.4374, allocations: 3.938 kB / 0.6554 GB, free: 6.977 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4374, allocations: 4 kB / 0.6554 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.4375, allocations: 54.2 kB / 0.6554 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.4379, allocations: 389.8 kB / 0.6558 GB, free: 6.473 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/0.438, allocations: 62.5 kB / 0.6559 GB, free: 6.402 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.438, allocations: 20.84 kB / 0.6559 GB, free: 6.379 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001795/0.4398, allocations: 1.232 MB / 0.6571 GB, free: 4.906 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.4399, allocations: 38.48 kB / 0.6571 GB, free: 4.859 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.4399, allocations: 4 kB / 0.6571 GB, free: 4.855 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.006864/0.4467, allocations: 0.6572 MB / 0.6578 GB, free: 4.191 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.4468, allocations: 51.41 kB / 0.6578 GB, free: 4.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.527e-05/0.4469, allocations: 105.8 kB / 0.6579 GB, free: 4.016 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4469, allocations: 25.7 kB / 0.6579 GB, free: 3.984 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.447, allocations: 92.31 kB / 0.658 GB, free: 3.891 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.447, allocations: 47.3 kB / 0.6581 GB, free: 3.844 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4472, allocations: 45.67 kB / 0.6581 GB, free: 3.793 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4473, allocations: 326.8 kB / 0.6584 GB, free: 3.465 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.4475, allocations: 79.94 kB / 0.6585 GB, free: 3.387 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.4477, allocations: 102.5 kB / 0.6586 GB, free: 3.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/0.4481, allocations: 210.5 kB / 0.6588 GB, free: 3.062 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4481, allocations: 3.984 kB / 0.6588 GB, free: 3.059 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005387/0.4487, allocations: 238.9 kB / 0.659 GB, free: 2.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4487, allocations: 8 kB / 0.659 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.4487, allocations: 0 / 0.659 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.4487, allocations: 0.5625 kB / 0.659 GB, free: 2.812 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.4495, allocations: 51.94 kB / 0.6591 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4495, allocations: 0 / 0.6591 GB, free: 2.762 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006008/0.4501, allocations: 24.05 kB / 0.6591 GB, free: 2.738 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.4501, allocations: 11.98 kB / 0.6591 GB, free: 2.727 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 9.988e-05/0.4502, allocations: 121.7 kB / 0.6592 GB, free: 2.598 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.395e-05/0.4503, allocations: 19.83 kB / 0.6593 GB, free: 2.578 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007874/0.4511, allocations: 343.1 kB / 0.6596 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4511, allocations: 4 kB / 0.6596 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4511, allocations: 0 / 0.6596 GB, free: 2.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4511, allocations: 3.938 kB / 0.6596 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.4522, allocations: 0.7569 MB / 0.6603 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4522, allocations: 4 kB / 0.6603 GB, free: 1.383 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006527/0.4529, allocations: 43.91 kB / 0.6604 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.4529, allocations: 0 / 0.6604 GB, free: 1.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.453, allocations: 12.23 kB / 0.6604 GB, free: 1.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.453, allocations: 4 kB / 0.6604 GB, free: 1.324 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.453, allocations: 3.938 kB / 0.6604 GB, free: 1.32 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.454, allocations: 1.016 MB / 0.6614 GB, free: 256 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.4541, allocations: 104.9 kB / 0.6615 GB, free: 132 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.4542, allocations: 4 kB / 0.6615 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005908/0.4548, allocations: 11.98 kB / 0.6615 GB, free: 116 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.371e-05/0.4548, allocations: 11.98 kB / 0.6615 GB, free: 104 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.4549, allocations: 19.98 kB / 0.6615 GB, free: 84 kB / 474.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.4549, allocations: 79.28 kB / 0.6616 GB, free: 4 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.953e-06/0.4549, allocations: 0 / 0.6616 GB, free: 4 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.4554, allocations: 107.9 kB / 0.6617 GB, free: 15.9 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.0003969/0.4559, allocations: 227.5 kB / 0.6619 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.4563, allocations: 203.8 kB / 0.6621 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4564, allocations: 0 / 0.6621 GB, free: 15.46 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.4566, allocations: 119.9 kB / 0.6622 GB, free: 15.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.457, allocations: 32.05 kB / 0.6623 GB, free: 15.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006647/0.4577, allocations: 452.5 kB / 0.6627 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.4579, allocations: 0.7043 MB / 0.6634 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004652/0.4584, allocations: 64.73 kB / 0.6635 GB, free: 14.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.4586, allocations: 31.34 kB / 0.6635 GB, free: 14.02 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4586, allocations: 4 kB / 0.6635 GB, free: 14.01 MB / 490.7 MB Notification: Performance of Templates: time 0.008899/0.4675, allocations: 6.142 MB / 0.6695 GB, free: 7.867 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches