Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.162/1.162, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3276/0.3276, allocations: 34.27 MB / 296.1 MB, free: 0.6484 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.544e-06/2.544e-06, allocations: 0 / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.109e-05/4.363e-05, allocations: 6.25 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.43/0.43, allocations: 144.7 MB / 0.5109 GB, free: 17.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.4315, allocations: 1.173 MB / 0.5121 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.4316, allocations: 1.312 kB / 0.5121 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.4318, allocations: 31.06 kB / 0.5121 GB, free: 16.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.109e-05/0.4318, allocations: 31.73 kB / 0.5121 GB, free: 16.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.4337, allocations: 442.2 kB / 0.5125 GB, free: 16.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.4339, allocations: 71.5 kB / 0.5126 GB, free: 16.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.4339, allocations: 11.27 kB / 0.5126 GB, free: 16.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.4341, allocations: 46.78 kB / 0.5127 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.4342, allocations: 24.05 kB / 0.5127 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.4342, allocations: 2.625 kB / 0.5127 GB, free: 16.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.4354, allocations: 469.1 kB / 0.5131 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.4354, allocations: 10.86 kB / 0.5131 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.4355, allocations: 16.48 kB / 0.5132 GB, free: 16.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.4362, allocations: 342.8 kB / 0.5135 GB, free: 16.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4362, allocations: 0 / 0.5135 GB, free: 16.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4362, allocations: 0.9844 kB / 0.5135 GB, free: 16.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.4362, allocations: 0 / 0.5135 GB, free: 16.23 MB / 410.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.0006223/0.4368, allocations: 441.4 kB / 0.5139 GB, free: 15.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.4369, allocations: 10.52 kB / 0.5139 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.4369, allocations: 18.12 kB / 0.5139 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.586e-05/0.437, allocations: 113.9 kB / 0.514 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.437, allocations: 2.594 kB / 0.514 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4371, allocations: 7.844 kB / 0.5141 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.4372, allocations: 56.05 kB / 0.5141 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.4372, allocations: 6.516 kB / 0.5141 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.4372, allocations: 4 kB / 0.5141 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4372, allocations: 1.938 kB / 0.5141 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.781e-05/0.4372, allocations: 25 kB / 0.5141 GB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.4376, allocations: 279.3 kB / 0.5144 GB, free: 15.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.4377, allocations: 69.45 kB / 0.5145 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.789e-05/0.4377, allocations: 15.97 kB / 0.5145 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008052/0.4385, allocations: 263.7 kB / 0.5147 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4386, allocations: 36.48 kB / 0.5148 GB, free: 15.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.4386, allocations: 0 / 0.5148 GB, free: 15.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003193/0.4417, allocations: 0.6681 MB / 0.5154 GB, free: 15.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.4418, allocations: 53.81 kB / 0.5155 GB, free: 15.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.4418, allocations: 166.3 kB / 0.5156 GB, free: 14.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.4419, allocations: 25.7 kB / 0.5157 GB, free: 14.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.4419, allocations: 145.6 kB / 0.5158 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.4419, allocations: 53.23 kB / 0.5159 GB, free: 14.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.442, allocations: 49.75 kB / 0.5159 GB, free: 14.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.486e-05/0.4421, allocations: 0.4914 MB / 0.5164 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.383e-05/0.4422, allocations: 84.91 kB / 0.5165 GB, free: 14.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.4423, allocations: 116 kB / 0.5166 GB, free: 14.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.4425, allocations: 217.4 kB / 0.5168 GB, free: 14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4425, allocations: 0 / 0.5168 GB, free: 14 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000312/0.4428, allocations: 269.6 kB / 0.517 GB, free: 13.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4428, allocations: 5.344 kB / 0.517 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.4428, allocations: 3.984 kB / 0.517 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4428, allocations: 6.312 kB / 0.5171 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.4432, allocations: 47.89 kB / 0.5171 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4432, allocations: 6.875 kB / 0.5171 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.4434, allocations: 14.25 kB / 0.5171 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.4434, allocations: 12.95 kB / 0.5171 GB, free: 13.92 MB / 410.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 8.45e-05/0.4435, allocations: 166.6 kB / 0.5173 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.4435, allocations: 8.797 kB / 0.5173 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.4439, allocations: 339.7 kB / 0.5176 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4439, allocations: 6.469 kB / 0.5176 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4439, allocations: 3.5 kB / 0.5176 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4439, allocations: 2.781 kB / 0.5176 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.4445, allocations: 0.7057 MB / 0.5183 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4445, allocations: 0 / 0.5183 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.4448, allocations: 46.16 kB / 0.5184 GB, free: 13.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4448, allocations: 3.938 kB / 0.5184 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.4448, allocations: 8.891 kB / 0.5184 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4448, allocations: 5.172 kB / 0.5184 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4448, allocations: 4 kB / 0.5184 GB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.4451, allocations: 402.8 kB / 0.5188 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.4452, allocations: 32.3 kB / 0.5188 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.4452, allocations: 4 kB / 0.5188 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.4454, allocations: 11.86 kB / 0.5188 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4455, allocations: 12.69 kB / 0.5188 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4455, allocations: 7.594 kB / 0.5188 GB, free: 12.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.778e-05/0.4455, allocations: 135.7 kB / 0.519 GB, free: 12.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4455, allocations: 0 / 0.519 GB, free: 12.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004135/0.4459, allocations: 102.9 kB / 0.5191 GB, free: 12.73 MB / 410.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.0003567/0.4463, allocations: 233 kB / 0.5193 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.4466, allocations: 225.2 kB / 0.5195 GB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4466, allocations: 3.938 kB / 0.5195 GB, free: 12.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.4467, allocations: 132.6 kB / 0.5196 GB, free: 12.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.4469, allocations: 32.97 kB / 0.5197 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.4476, allocations: 257.6 kB / 0.5199 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.4476, allocations: 67.44 kB / 0.52 GB, free: 12.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.4478, allocations: 61.19 kB / 0.52 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.448, allocations: 114.6 kB / 0.5201 GB, free: 12.19 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.448, allocations: 0 / 0.5201 GB, free: 12.19 MB / 410.7 MB Notification: Performance of Templates: time 0.01004/0.4581, allocations: 7.467 MB / 0.5274 GB, free: 11.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.989272261969745]