Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001707/0.001707, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008627/0.0008628, allocations: 96.92 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2996/0.2996, allocations: 43.49 MB / 360.7 MB, free: 51.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 55.91 kB / 429.2 MB, free: 6.398 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.109, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3456/0.4547, allocations: 150.9 MB / 0.623 GB, free: 9.035 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004745/0.4595, allocations: 3.741 MB / 0.6266 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.191e-05/0.4595, allocations: 0 / 0.6266 GB, free: 6.117 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.4597, allocations: 35.61 kB / 0.6266 GB, free: 6.09 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.534e-05/0.4599, allocations: 32.39 kB / 0.6267 GB, free: 6.062 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.4612, allocations: 387.9 kB / 0.6271 GB, free: 5.793 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.4613, allocations: 68.55 kB / 0.6271 GB, free: 5.758 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.4614, allocations: 4.719 kB / 0.6271 GB, free: 5.758 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.256e-05/0.4615, allocations: 31.23 kB / 0.6271 GB, free: 5.742 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.4615, allocations: 28.5 kB / 0.6272 GB, free: 5.727 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.4615, allocations: 2.531 kB / 0.6272 GB, free: 5.727 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.4628, allocations: 499.7 kB / 0.6277 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.4628, allocations: 10.38 kB / 0.6277 GB, free: 5.453 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.4629, allocations: 30.39 kB / 0.6277 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008939/0.4638, allocations: 316.2 kB / 0.628 GB, free: 5.273 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4638, allocations: 0 / 0.628 GB, free: 5.273 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4638, allocations: 0 / 0.628 GB, free: 5.273 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.4638, allocations: 0 / 0.628 GB, free: 5.273 MB / 442.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.0006862/0.4645, allocations: 402 kB / 0.6284 GB, free: 4.871 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4646, allocations: 14.56 kB / 0.6284 GB, free: 4.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.4646, allocations: 6.656 kB / 0.6284 GB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4648, allocations: 178.5 kB / 0.6286 GB, free: 4.652 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.4648, allocations: 6.969 kB / 0.6286 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.4648, allocations: 2.312 kB / 0.6286 GB, free: 4.648 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.465, allocations: 69.98 kB / 0.6286 GB, free: 4.594 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.465, allocations: 6.031 kB / 0.6287 GB, free: 4.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.465, allocations: 4 kB / 0.6287 GB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.465, allocations: 2.938 kB / 0.6287 GB, free: 4.586 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.4651, allocations: 49.03 kB / 0.6287 GB, free: 4.562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.4656, allocations: 380.6 kB / 0.6291 GB, free: 4.152 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4657, allocations: 61.73 kB / 0.6291 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.4658, allocations: 27.33 kB / 0.6292 GB, free: 4.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.4676, allocations: 1.24 MB / 0.6304 GB, free: 2.766 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4676, allocations: 30.56 kB / 0.6304 GB, free: 2.727 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4676, allocations: 0 / 0.6304 GB, free: 2.727 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.006726/0.4743, allocations: 0.6681 MB / 0.631 GB, free: 2.293 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4744, allocations: 51.41 kB / 0.6311 GB, free: 2.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.4745, allocations: 110.5 kB / 0.6312 GB, free: 2.113 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.4745, allocations: 25.7 kB / 0.6312 GB, free: 2.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.4746, allocations: 84.33 kB / 0.6313 GB, free: 1.996 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.4746, allocations: 51.3 kB / 0.6314 GB, free: 1.945 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4748, allocations: 41.67 kB / 0.6314 GB, free: 1.898 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.4749, allocations: 318.8 kB / 0.6317 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.4751, allocations: 83.95 kB / 0.6318 GB, free: 1.496 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.4753, allocations: 106.5 kB / 0.6319 GB, free: 1.383 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.4757, allocations: 201.7 kB / 0.6321 GB, free: 1.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4757, allocations: 3.938 kB / 0.6321 GB, free: 1.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005357/0.4763, allocations: 254.3 kB / 0.6323 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.4763, allocations: 4 kB / 0.6323 GB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.4763, allocations: 4 kB / 0.6323 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4763, allocations: 0 / 0.6323 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007017/0.477, allocations: 51.94 kB / 0.6324 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.477, allocations: 0 / 0.6324 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.4776, allocations: 16 kB / 0.6324 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.731e-05/0.4777, allocations: 16.03 kB / 0.6324 GB, free: 0.832 MB / 442.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.733e-05/0.4778, allocations: 121.8 kB / 0.6325 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.4778, allocations: 11.84 kB / 0.6325 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.4786, allocations: 343 kB / 0.6329 GB, free: 364 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.4786, allocations: 4 kB / 0.6329 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.4786, allocations: 0 / 0.6329 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4787, allocations: 3.984 kB / 0.6329 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.4797, allocations: 0.7545 MB / 0.6336 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4797, allocations: 4 kB / 0.6336 GB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/0.4804, allocations: 47.89 kB / 0.6337 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4804, allocations: 4 kB / 0.6337 GB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.189e-05/0.4804, allocations: 7.984 kB / 0.6337 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.4805, allocations: 4 kB / 0.6337 GB, free: 15.44 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4805, allocations: 3.938 kB / 0.6337 GB, free: 15.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.4815, allocations: 1.019 MB / 0.6347 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.4816, allocations: 101 kB / 0.6348 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.4817, allocations: 3.938 kB / 0.6348 GB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.4823, allocations: 15.98 kB / 0.6348 GB, free: 14.22 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.641e-05/0.4823, allocations: 12.67 kB / 0.6348 GB, free: 14.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.4824, allocations: 15.98 kB / 0.6348 GB, free: 14.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.366e-05/0.4824, allocations: 76.09 kB / 0.6349 GB, free: 14.12 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4824, allocations: 8 kB / 0.6349 GB, free: 14.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000524/0.4829, allocations: 103.9 kB / 0.635 GB, free: 14.01 MB / 458.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.0004486/0.4834, allocations: 226.9 kB / 0.6352 GB, free: 13.78 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004984/0.4839, allocations: 214.6 kB / 0.6354 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4839, allocations: 0 / 0.6354 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.4842, allocations: 115.9 kB / 0.6355 GB, free: 13.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.4846, allocations: 29.83 kB / 0.6355 GB, free: 13.43 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007594/0.4854, allocations: 448.7 kB / 0.636 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.4857, allocations: 0.7089 MB / 0.6367 GB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000459/0.4861, allocations: 68.62 kB / 0.6367 GB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.4864, allocations: 31.39 kB / 0.6368 GB, free: 12.13 MB / 458.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4864, allocations: 0 / 0.6368 GB, free: 12.13 MB / 458.7 MB Notification: Performance of Templates: time 0.009799/0.4962, allocations: 6.188 MB / 0.6428 GB, free: 5.949 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches