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/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 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 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) 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 97.2 kB / 18.01 MB, free: 5.602 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.001292/0.001292, allocations: 177.6 kB / 18.91 MB, free: 4.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 243 MB, free: 20 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2088/0.2088, allocations: 44.25 MB / 338.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 13.25 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1184, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4378/0.5563, allocations: 147.3 MB / 0.6057 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.558, allocations: 1.203 MB / 0.6069 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.651e-05/0.5581, allocations: 0 / 0.6069 GB, free: 14.17 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.5583, allocations: 37.86 kB / 0.6069 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.5584, allocations: 27.77 kB / 0.6069 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.5598, allocations: 389.6 kB / 0.6073 GB, free: 13.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.5599, allocations: 67.59 kB / 0.6074 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.5599, allocations: 3.984 kB / 0.6074 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.563e-05/0.56, allocations: 27.88 kB / 0.6074 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.5601, allocations: 31.91 kB / 0.6074 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.5601, allocations: 0 / 0.6074 GB, free: 13.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.5614, allocations: 0.491 MB / 0.6079 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.5614, allocations: 7.938 kB / 0.6079 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.5615, allocations: 49.62 kB / 0.608 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004406/0.5619, allocations: 223.5 kB / 0.6082 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5619, allocations: 0 / 0.6082 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.562, allocations: 0 / 0.6082 GB, free: 12.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.562, allocations: 0 / 0.6082 GB, free: 12.82 MB / 446.1 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.0006588/0.5626, allocations: 402.7 kB / 0.6086 GB, free: 12.39 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.5627, allocations: 8.031 kB / 0.6086 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.5627, allocations: 5.312 kB / 0.6086 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5629, allocations: 167 kB / 0.6087 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.5629, allocations: 4 kB / 0.6087 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.5629, allocations: 7.906 kB / 0.6088 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.5631, allocations: 77.53 kB / 0.6088 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5631, allocations: 8 kB / 0.6088 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5631, allocations: 0 / 0.6088 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.5632, allocations: 3.984 kB / 0.6088 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.396e-05/0.5633, allocations: 55.97 kB / 0.6089 GB, free: 12.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.5638, allocations: 381.8 kB / 0.6093 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.564, allocations: 66.48 kB / 0.6093 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.183e-05/0.564, allocations: 24.86 kB / 0.6093 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/0.5661, allocations: 1.232 MB / 0.6105 GB, free: 9.996 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5661, allocations: 30.56 kB / 0.6106 GB, free: 9.957 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.5661, allocations: 4 kB / 0.6106 GB, free: 9.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007345/0.5735, allocations: 0.6687 MB / 0.6112 GB, free: 9.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.5735, allocations: 51.41 kB / 0.6113 GB, free: 9.215 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5737, allocations: 105.8 kB / 0.6114 GB, free: 9.102 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.5737, allocations: 25.7 kB / 0.6114 GB, free: 9.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.5738, allocations: 84.33 kB / 0.6115 GB, free: 8.984 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.5738, allocations: 51.3 kB / 0.6115 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.729e-05/0.5739, allocations: 25.7 kB / 0.6116 GB, free: 8.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.574, allocations: 314.8 kB / 0.6119 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.5742, allocations: 79.94 kB / 0.6119 GB, free: 8.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.5745, allocations: 110.5 kB / 0.612 GB, free: 8.391 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.5749, allocations: 198.5 kB / 0.6122 GB, free: 8.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5749, allocations: 0 / 0.6122 GB, free: 8.188 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005667/0.5755, allocations: 255 kB / 0.6125 GB, free: 7.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.5755, allocations: 8 kB / 0.6125 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5756, allocations: 3.984 kB / 0.6125 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5756, allocations: 0 / 0.6125 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.5763, allocations: 47.95 kB / 0.6125 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.5763, allocations: 3.938 kB / 0.6125 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005896/0.5769, allocations: 24.05 kB / 0.6126 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.577, allocations: 19.86 kB / 0.6126 GB, free: 7.832 MB / 446.1 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.0001385/0.5771, allocations: 117.8 kB / 0.6127 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.5772, allocations: 7.906 kB / 0.6127 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.578, allocations: 357.8 kB / 0.613 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5781, allocations: 0 / 0.613 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5781, allocations: 0 / 0.613 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5781, allocations: 0 / 0.613 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.5793, allocations: 0.7562 MB / 0.6138 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.5793, allocations: 0 / 0.6138 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.5799, allocations: 47.95 kB / 0.6138 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.58, allocations: 0 / 0.6138 GB, free: 6.449 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.58, allocations: 7.984 kB / 0.6138 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.58, allocations: 0 / 0.6138 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.58, allocations: 0 / 0.6138 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.5807, allocations: 365.8 kB / 0.6142 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.939e-05/0.5808, allocations: 101 kB / 0.6143 GB, free: 5.953 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.5808, allocations: 8 kB / 0.6143 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005718/0.5814, allocations: 7.984 kB / 0.6143 GB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.5815, allocations: 23.91 kB / 0.6143 GB, free: 5.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-05/0.5815, allocations: 4 kB / 0.6143 GB, free: 5.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.5816, allocations: 87.27 kB / 0.6144 GB, free: 5.824 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5816, allocations: 4 kB / 0.6144 GB, free: 5.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004817/0.5821, allocations: 103.9 kB / 0.6145 GB, free: 5.719 MB / 446.1 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.0005401/0.5826, allocations: 227.5 kB / 0.6147 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005199/0.5831, allocations: 207.8 kB / 0.6149 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5832, allocations: 0 / 0.6149 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.5834, allocations: 119.9 kB / 0.615 GB, free: 5.164 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.5839, allocations: 26.33 kB / 0.6151 GB, free: 5.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.5846, allocations: 335.3 kB / 0.6154 GB, free: 4.781 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.5849, allocations: 0.6965 MB / 0.6161 GB, free: 4.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.5851, allocations: 43.39 kB / 0.6161 GB, free: 4.016 MB / 446.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5851, allocations: 0 / 0.6161 GB, free: 4.016 MB / 446.1 MB Notification: Performance of Templates: time 0.007301/0.5924, allocations: 4.078 MB / 0.6201 GB, free: 15.93 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches