Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009208/0.000921, allocations: 173.5 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.7 MB / 243.9 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007143/0.0007144, allocations: 93.02 kB / 295 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3579/0.3579, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 15.94 kB / 463.1 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3181, allocations: 61.9 MB / 0.5127 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1494/0.4675, allocations: 140.3 MB / 0.6497 GB, free: 1.012 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.4695, allocations: 2.152 MB / 0.6518 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.4696, allocations: 0 / 0.6518 GB, free: 14.62 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.4698, allocations: 39.81 kB / 0.6518 GB, free: 14.58 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.4698, allocations: 27.77 kB / 0.6519 GB, free: 14.55 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.471, allocations: 380.5 kB / 0.6522 GB, free: 14.18 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.4712, allocations: 71.55 kB / 0.6523 GB, free: 14.11 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.4712, allocations: 7.984 kB / 0.6523 GB, free: 14.1 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.47e-05/0.4713, allocations: 31.86 kB / 0.6523 GB, free: 14.07 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.074e-05/0.4714, allocations: 19.92 kB / 0.6524 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.4714, allocations: 0 / 0.6524 GB, free: 14.05 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.4725, allocations: 498.8 kB / 0.6528 GB, free: 13.56 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.4725, allocations: 3.938 kB / 0.6528 GB, free: 13.56 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.4726, allocations: 53.62 kB / 0.6529 GB, free: 13.5 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.4732, allocations: 315.2 kB / 0.6532 GB, free: 13.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4732, allocations: 0 / 0.6532 GB, free: 13.19 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4732, allocations: 0 / 0.6532 GB, free: 13.19 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.4732, allocations: 0 / 0.6532 GB, free: 13.19 MB / 474.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.0005917/0.4738, allocations: 395.4 kB / 0.6536 GB, free: 12.76 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4739, allocations: 12.03 kB / 0.6536 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.419e-05/0.4739, allocations: 8.844 kB / 0.6536 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.474, allocations: 171 kB / 0.6538 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4741, allocations: 0 / 0.6538 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.4741, allocations: 8 kB / 0.6538 GB, free: 12.52 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4743, allocations: 73.66 kB / 0.6538 GB, free: 12.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4743, allocations: 3.906 kB / 0.6538 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.4743, allocations: 4 kB / 0.6538 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4743, allocations: 0 / 0.6538 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.583e-05/0.4744, allocations: 47.97 kB / 0.6539 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.4749, allocations: 389.7 kB / 0.6543 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.475, allocations: 62.55 kB / 0.6543 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.4751, allocations: 16.86 kB / 0.6543 GB, free: 11.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/0.4768, allocations: 1.244 MB / 0.6555 GB, free: 10.37 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.4769, allocations: 46.44 kB / 0.6556 GB, free: 10.31 MB / 474.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.4769, allocations: 0 / 0.6556 GB, free: 10.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.006155/0.4831, allocations: 0.657 MB / 0.6562 GB, free: 9.648 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.4831, allocations: 55.41 kB / 0.6563 GB, free: 9.582 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.4832, allocations: 101.8 kB / 0.6564 GB, free: 9.473 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.4832, allocations: 29.7 kB / 0.6564 GB, free: 9.438 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.4833, allocations: 88.33 kB / 0.6565 GB, free: 9.348 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.4833, allocations: 51.23 kB / 0.6565 GB, free: 9.297 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/0.4834, allocations: 3.938 kB / 0.6565 GB, free: 9.293 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.4835, allocations: 326.8 kB / 0.6569 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.4837, allocations: 79.94 kB / 0.6569 GB, free: 8.887 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.4839, allocations: 102.5 kB / 0.657 GB, free: 8.777 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.4843, allocations: 202.6 kB / 0.6572 GB, free: 8.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4843, allocations: 4 kB / 0.6572 GB, free: 8.566 MB / 474.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005618/0.4849, allocations: 245.4 kB / 0.6575 GB, free: 8.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.4849, allocations: 7.938 kB / 0.6575 GB, free: 8.312 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.485, allocations: 4 kB / 0.6575 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.485, allocations: 256 / 0.6575 GB, free: 8.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006432/0.4856, allocations: 47.94 kB / 0.6575 GB, free: 8.262 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4856, allocations: 8 kB / 0.6575 GB, free: 8.254 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004784/0.4861, allocations: 24.05 kB / 0.6576 GB, free: 8.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.4862, allocations: 7.984 kB / 0.6576 GB, free: 8.223 MB / 474.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.0001151/0.4863, allocations: 122.2 kB / 0.6577 GB, free: 8.094 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.4864, allocations: 7.906 kB / 0.6577 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/0.4872, allocations: 353.9 kB / 0.658 GB, free: 7.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.4872, allocations: 4 kB / 0.658 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4872, allocations: 0 / 0.658 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4872, allocations: 3.984 kB / 0.658 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.4883, allocations: 0.7617 MB / 0.6588 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4883, allocations: 0 / 0.6588 GB, free: 6.879 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005458/0.4888, allocations: 51.89 kB / 0.6588 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4888, allocations: 0 / 0.6588 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.4889, allocations: 4 kB / 0.6588 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.4889, allocations: 0 / 0.6588 GB, free: 6.824 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4889, allocations: 3.938 kB / 0.6588 GB, free: 6.82 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005591/0.4895, allocations: 361.2 kB / 0.6592 GB, free: 6.453 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4896, allocations: 101 kB / 0.6593 GB, free: 6.336 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.4896, allocations: 8 kB / 0.6593 GB, free: 6.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.4901, allocations: 7.984 kB / 0.6593 GB, free: 6.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.4902, allocations: 19.92 kB / 0.6593 GB, free: 6.301 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.4902, allocations: 7.984 kB / 0.6593 GB, free: 6.293 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.034e-05/0.4902, allocations: 87.22 kB / 0.6594 GB, free: 6.207 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.994e-06/0.4903, allocations: 0 / 0.6594 GB, free: 6.207 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004183/0.4907, allocations: 111.9 kB / 0.6595 GB, free: 6.098 MB / 474.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.0004424/0.4911, allocations: 223 kB / 0.6597 GB, free: 5.867 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0004967/0.4916, allocations: 211.7 kB / 0.6599 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4917, allocations: 0 / 0.6599 GB, free: 5.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.4919, allocations: 117.2 kB / 0.66 GB, free: 5.547 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.4923, allocations: 27.97 kB / 0.6601 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.493, allocations: 305.1 kB / 0.6603 GB, free: 5.195 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.4933, allocations: 0.7004 MB / 0.661 GB, free: 4.469 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004655/0.4937, allocations: 64.95 kB / 0.6611 GB, free: 4.406 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.4939, allocations: 39.31 kB / 0.6611 GB, free: 4.367 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.494, allocations: 4 kB / 0.6611 GB, free: 4.363 MB / 474.7 MB Notification: Performance of Templates: time 0.009977/0.5039, allocations: 5.978 MB / 0.667 GB, free: 14.37 MB / 490.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches