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.001094/0.001093, allocations: 103.3 kB / 18.4 MB, free: 4.57 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.00135/0.00135, allocations: 188 kB / 19.34 MB, free: 3.641 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.374/1.374, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2055/0.2055, allocations: 44.19 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 63.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09891, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3398/0.4387, allocations: 151.5 MB / 0.6076 GB, free: 8.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.4402, allocations: 1.196 MB / 0.6088 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.7e-05/0.4402, allocations: 0 / 0.6088 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.4404, allocations: 35.8 kB / 0.6088 GB, free: 7.445 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.4405, allocations: 31.77 kB / 0.6088 GB, free: 7.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4416, allocations: 441.3 kB / 0.6093 GB, free: 6.988 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.386e-05/0.4417, allocations: 71.53 kB / 0.6093 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.726e-05/0.4417, allocations: 5.828 kB / 0.6093 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.4418, allocations: 27.92 kB / 0.6094 GB, free: 6.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.769e-05/0.4419, allocations: 23.91 kB / 0.6094 GB, free: 6.863 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4419, allocations: 4 kB / 0.6094 GB, free: 6.859 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000981/0.4429, allocations: 0.4948 MB / 0.6099 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.4429, allocations: 11.91 kB / 0.6099 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.519e-05/0.4429, allocations: 27.94 kB / 0.6099 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000467/0.4434, allocations: 307.2 kB / 0.6102 GB, free: 6.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4434, allocations: 0 / 0.6102 GB, free: 6.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4434, allocations: 0 / 0.6102 GB, free: 6.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.4435, allocations: 4 kB / 0.6102 GB, free: 6.023 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.0004911/0.4439, allocations: 399.9 kB / 0.6106 GB, free: 5.586 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.444, allocations: 12.03 kB / 0.6106 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.444, allocations: 5.312 kB / 0.6106 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.4441, allocations: 174.8 kB / 0.6108 GB, free: 5.359 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4442, allocations: 12.88 kB / 0.6108 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.4442, allocations: 4 kB / 0.6108 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.4443, allocations: 73.67 kB / 0.6109 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4443, allocations: 0 / 0.6109 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.4444, allocations: 0 / 0.6109 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4444, allocations: 0 / 0.6109 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.347e-05/0.4444, allocations: 55.89 kB / 0.6109 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.4449, allocations: 381.8 kB / 0.6113 GB, free: 4.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.445, allocations: 66.56 kB / 0.6113 GB, free: 4.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.459e-05/0.445, allocations: 20.84 kB / 0.6114 GB, free: 4.672 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.4469, allocations: 1.233 MB / 0.6126 GB, free: 3.199 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4469, allocations: 34.56 kB / 0.6126 GB, free: 3.156 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.4469, allocations: 0 / 0.6126 GB, free: 3.156 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.006864/0.4538, allocations: 0.6618 MB / 0.6132 GB, free: 2.488 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.553e-05/0.4538, allocations: 55.41 kB / 0.6133 GB, free: 2.422 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.079e-05/0.4539, allocations: 107.7 kB / 0.6134 GB, free: 2.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.454, allocations: 29.7 kB / 0.6134 GB, free: 2.273 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.454, allocations: 92.25 kB / 0.6135 GB, free: 2.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.4541, allocations: 55.23 kB / 0.6136 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.4542, allocations: 41.67 kB / 0.6136 GB, free: 2.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/0.4543, allocations: 318.8 kB / 0.6139 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.4545, allocations: 75.95 kB / 0.614 GB, free: 1.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4547, allocations: 114.5 kB / 0.6141 GB, free: 1.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.4552, allocations: 193.9 kB / 0.6143 GB, free: 1.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4552, allocations: 7.938 kB / 0.6143 GB, free: 1.359 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005456/0.4557, allocations: 253.4 kB / 0.6145 GB, free: 1.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4557, allocations: 4 kB / 0.6145 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.4558, allocations: 4 kB / 0.6145 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4558, allocations: 0 / 0.6145 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.4565, allocations: 51.94 kB / 0.6146 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4565, allocations: 0 / 0.6146 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005288/0.457, allocations: 16 kB / 0.6146 GB, free: 1.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/0.4571, allocations: 16.66 kB / 0.6146 GB, free: 1.016 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.0001162/0.4572, allocations: 121.7 kB / 0.6147 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.434e-05/0.4572, allocations: 15.92 kB / 0.6147 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007819/0.458, allocations: 345.7 kB / 0.6151 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.458, allocations: 0 / 0.6151 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.4581, allocations: 3.984 kB / 0.6151 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4581, allocations: 8 kB / 0.6151 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.4592, allocations: 0.7484 MB / 0.6158 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.4592, allocations: 0 / 0.6158 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/0.4599, allocations: 47.89 kB / 0.6159 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4599, allocations: 0 / 0.6159 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.4599, allocations: 11.98 kB / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4599, allocations: 0 / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4599, allocations: 0 / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005702/0.4605, allocations: 357.7 kB / 0.6162 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4606, allocations: 96.97 kB / 0.6163 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.4607, allocations: 8 kB / 0.6163 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005384/0.4612, allocations: 8 kB / 0.6163 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.4613, allocations: 19.91 kB / 0.6163 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.4613, allocations: 11.98 kB / 0.6164 GB, free: 15.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.75e-05/0.4614, allocations: 91.16 kB / 0.6164 GB, free: 15.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4614, allocations: 4 kB / 0.6164 GB, free: 15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004305/0.4618, allocations: 99.92 kB / 0.6165 GB, free: 14.91 MB / 462.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.000389/0.4622, allocations: 227 kB / 0.6168 GB, free: 14.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.4627, allocations: 207.8 kB / 0.617 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4627, allocations: 0 / 0.617 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.463, allocations: 115.9 kB / 0.6171 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.4634, allocations: 32 kB / 0.6171 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.464, allocations: 264.9 kB / 0.6173 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.4643, allocations: 0.6963 MB / 0.618 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.4646, allocations: 63.2 kB / 0.6181 GB, free: 13.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.4648, allocations: 39.39 kB / 0.6181 GB, free: 13.22 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4648, allocations: 0 / 0.6181 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Templates: time 0.009706/0.4745, allocations: 6.158 MB / 0.6241 GB, free: 7.062 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 -s gbode -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