Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009239/0.000924, allocations: 170.4 kB / 16.07 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.6 MB / 222.4 MB, free: 8.848 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 83.53 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3002/0.3002, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002785/0.0002786, allocations: 8 kB / 432.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09507/0.09537, allocations: 58.86 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2981/0.3935, allocations: 141.9 MB / 0.6182 GB, free: 8.152 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006284/0.3999, allocations: 6.049 MB / 0.6241 GB, free: 1.508 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.3999, allocations: 0 / 0.6241 GB, free: 1.508 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.4002, allocations: 39.86 kB / 0.6242 GB, free: 1.469 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.373e-05/0.4002, allocations: 31.77 kB / 0.6242 GB, free: 1.438 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.4015, allocations: 383.5 kB / 0.6245 GB, free: 1.066 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.4016, allocations: 67.66 kB / 0.6246 GB, free: 1 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.4016, allocations: 7.938 kB / 0.6246 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.4017, allocations: 27.92 kB / 0.6246 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.01e-05/0.4018, allocations: 27.84 kB / 0.6247 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.4018, allocations: 0 / 0.6247 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.4031, allocations: 494.8 kB / 0.6251 GB, free: 464 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.4031, allocations: 7.922 kB / 0.6252 GB, free: 456 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.4032, allocations: 53.58 kB / 0.6252 GB, free: 396 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.4038, allocations: 315.2 kB / 0.6255 GB, free: 80 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.4038, allocations: 3.984 kB / 0.6255 GB, free: 76 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4038, allocations: 0 / 0.6255 GB, free: 76 kB / 442.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.4038, allocations: 0 / 0.6255 GB, free: 76 kB / 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.0006714/0.4045, allocations: 395.1 kB / 0.6259 GB, free: 15.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4045, allocations: 12.03 kB / 0.6259 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.4046, allocations: 4.844 kB / 0.6259 GB, free: 15.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.4048, allocations: 179.7 kB / 0.6261 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4048, allocations: 0 / 0.6261 GB, free: 15.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.4048, allocations: 11.94 kB / 0.6261 GB, free: 15.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.405, allocations: 73.59 kB / 0.6262 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.405, allocations: 4 kB / 0.6262 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.405, allocations: 0 / 0.6262 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.405, allocations: 0 / 0.6262 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.4051, allocations: 51.95 kB / 0.6262 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.4056, allocations: 381.8 kB / 0.6266 GB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.4057, allocations: 62.5 kB / 0.6266 GB, free: 14.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.533e-05/0.4058, allocations: 20.84 kB / 0.6267 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/0.4076, allocations: 1.232 MB / 0.6279 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.4077, allocations: 38.56 kB / 0.6279 GB, free: 13.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.4077, allocations: 0 / 0.6279 GB, free: 13.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.006526/0.4142, allocations: 0.6688 MB / 0.6285 GB, free: 12.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.4143, allocations: 55.41 kB / 0.6286 GB, free: 12.48 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/0.4143, allocations: 105.2 kB / 0.6287 GB, free: 12.37 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.4144, allocations: 29.7 kB / 0.6287 GB, free: 12.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.4144, allocations: 92.33 kB / 0.6288 GB, free: 12.24 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.4145, allocations: 47.3 kB / 0.6289 GB, free: 12.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.4145, allocations: 0 / 0.6289 GB, free: 12.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.693e-05/0.4146, allocations: 318.8 kB / 0.6292 GB, free: 11.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.4148, allocations: 87.88 kB / 0.6292 GB, free: 11.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.415, allocations: 106.5 kB / 0.6293 GB, free: 11.67 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.4155, allocations: 198.5 kB / 0.6295 GB, free: 11.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4155, allocations: 0 / 0.6295 GB, free: 11.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005489/0.4161, allocations: 255.3 kB / 0.6298 GB, free: 11.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.4161, allocations: 4 kB / 0.6298 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4161, allocations: 4 kB / 0.6298 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.4161, allocations: 0 / 0.6298 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006408/0.4168, allocations: 55.88 kB / 0.6298 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.4168, allocations: 0.5469 kB / 0.6298 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.4173, allocations: 19.94 kB / 0.6299 GB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.4173, allocations: 11.97 kB / 0.6299 GB, free: 11.12 MB / 458.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 0.0001058/0.4175, allocations: 117.9 kB / 0.63 GB, free: 11 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.4175, allocations: 7.938 kB / 0.63 GB, free: 10.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008292/0.4183, allocations: 357.3 kB / 0.6303 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.4184, allocations: 4 kB / 0.6303 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4184, allocations: 0 / 0.6303 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4184, allocations: 0 / 0.6303 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.4194, allocations: 0.7501 MB / 0.6311 GB, free: 9.797 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4195, allocations: 4 kB / 0.6311 GB, free: 9.793 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.4201, allocations: 47.95 kB / 0.6311 GB, free: 9.746 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.4201, allocations: 4 kB / 0.6311 GB, free: 9.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.4201, allocations: 7.984 kB / 0.6311 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4201, allocations: 0 / 0.6311 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4201, allocations: 4 kB / 0.6311 GB, free: 9.73 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.4207, allocations: 356.2 kB / 0.6315 GB, free: 9.367 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.4208, allocations: 105 kB / 0.6316 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4209, allocations: 11.25 kB / 0.6316 GB, free: 9.238 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.4214, allocations: 8 kB / 0.6316 GB, free: 9.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.4215, allocations: 15.97 kB / 0.6316 GB, free: 9.215 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.4215, allocations: 7.984 kB / 0.6316 GB, free: 9.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.769e-05/0.4216, allocations: 87.22 kB / 0.6317 GB, free: 9.121 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4216, allocations: 0 / 0.6317 GB, free: 9.121 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.422, allocations: 99.92 kB / 0.6318 GB, free: 9.023 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.0004685/0.4225, allocations: 234.9 kB / 0.632 GB, free: 8.781 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.423, allocations: 206 kB / 0.6322 GB, free: 8.582 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.423, allocations: 4 kB / 0.6322 GB, free: 8.578 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.4232, allocations: 127.8 kB / 0.6323 GB, free: 8.453 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.4236, allocations: 31.91 kB / 0.6324 GB, free: 8.422 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005798/0.4242, allocations: 299.3 kB / 0.6327 GB, free: 8.113 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.4245, allocations: 0.6933 MB / 0.6333 GB, free: 7.395 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.425, allocations: 64.75 kB / 0.6334 GB, free: 7.332 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.4252, allocations: 43.38 kB / 0.6334 GB, free: 7.293 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4252, allocations: 0 / 0.6334 GB, free: 7.293 MB / 458.7 MB Notification: Performance of Templates: time 0.009913/0.4351, allocations: 6.024 MB / 0.6393 GB, free: 1.27 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/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