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.001242/0.001242, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001194/0.001194, allocations: 183.9 kB / 18.71 MB, free: 4.371 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.1858/0.1858, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.91 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3039, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1561/0.46, allocations: 151.5 MB / 0.6668 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.4617, allocations: 1.195 MB / 0.668 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.4617, allocations: 0 / 0.668 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.462, allocations: 31.81 kB / 0.668 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.462, allocations: 35.7 kB / 0.6681 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.4633, allocations: 433.9 kB / 0.6685 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.4634, allocations: 75.52 kB / 0.6685 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.774e-05/0.4635, allocations: 7.656 kB / 0.6686 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.112e-05/0.4636, allocations: 31.86 kB / 0.6686 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.151e-05/0.4637, allocations: 27.91 kB / 0.6686 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.4637, allocations: 4 kB / 0.6686 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.4647, allocations: 498.7 kB / 0.6691 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.4648, allocations: 11.94 kB / 0.6691 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.4648, allocations: 31.86 kB / 0.6691 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.4654, allocations: 297.4 kB / 0.6694 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4654, allocations: 0 / 0.6694 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.084e-06/0.4654, allocations: 4 kB / 0.6694 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4654, allocations: 0 / 0.6694 GB, free: 1.371 MB / 0.5137 GB 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.0006503/0.466, allocations: 415.2 kB / 0.6698 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4661, allocations: 8.031 kB / 0.6698 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.4661, allocations: 4.938 kB / 0.6698 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.4663, allocations: 170.9 kB / 0.67 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.4663, allocations: 12 kB / 0.67 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.4664, allocations: 8 kB / 0.67 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4665, allocations: 69.61 kB / 0.6701 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.4666, allocations: 0 / 0.6701 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.4666, allocations: 0 / 0.6701 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.4666, allocations: 4 kB / 0.6701 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.486e-05/0.4667, allocations: 55.91 kB / 0.6701 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.4672, allocations: 381.8 kB / 0.6705 GB, free: 108 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.4673, allocations: 66.55 kB / 0.6706 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.4674, allocations: 20.98 kB / 0.6706 GB, free: 8 kB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001834/0.4692, allocations: 1.232 MB / 0.6718 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.4693, allocations: 42.5 kB / 0.6718 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4693, allocations: 0 / 0.6718 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006188/0.4755, allocations: 0.6608 MB / 0.6725 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.4755, allocations: 59.34 kB / 0.6725 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/0.4756, allocations: 105.8 kB / 0.6726 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.4757, allocations: 29.7 kB / 0.6727 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.56e-05/0.4757, allocations: 88.27 kB / 0.6727 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.4758, allocations: 47.36 kB / 0.6728 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.4759, allocations: 45.58 kB / 0.6728 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.476, allocations: 310.8 kB / 0.6731 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.4762, allocations: 87.94 kB / 0.6732 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.4764, allocations: 105.6 kB / 0.6733 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.4768, allocations: 210.3 kB / 0.6735 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4769, allocations: 0 / 0.6735 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000541/0.4774, allocations: 245.6 kB / 0.6737 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4774, allocations: 8 kB / 0.6737 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.371e-06/0.4774, allocations: 0 / 0.6737 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4775, allocations: 0.5625 kB / 0.6737 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.4781, allocations: 55.94 kB / 0.6738 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.4781, allocations: 0 / 0.6738 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.4786, allocations: 12 kB / 0.6738 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.511e-05/0.4786, allocations: 15.98 kB / 0.6738 GB, free: 12.36 MB / 0.5294 GB 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.0001331/0.4788, allocations: 133.7 kB / 0.674 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.4788, allocations: 11.84 kB / 0.674 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.4797, allocations: 337.4 kB / 0.6743 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.4797, allocations: 4 kB / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4797, allocations: 4 kB / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4797, allocations: 3.984 kB / 0.6743 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4808, allocations: 0.7543 MB / 0.675 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.4808, allocations: 0 / 0.675 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.4814, allocations: 51.89 kB / 0.6751 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.4814, allocations: 4 kB / 0.6751 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.4814, allocations: 4 kB / 0.6751 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.4814, allocations: 3.984 kB / 0.6751 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.4814, allocations: 7.938 kB / 0.6751 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.482, allocations: 359.2 kB / 0.6754 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4821, allocations: 101 kB / 0.6755 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.116e-05/0.4822, allocations: 8 kB / 0.6756 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.4827, allocations: 4 kB / 0.6756 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.4827, allocations: 27.84 kB / 0.6756 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/0.4828, allocations: 8 kB / 0.6756 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.091e-05/0.4828, allocations: 87.27 kB / 0.6757 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4828, allocations: 0 / 0.6757 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004937/0.4833, allocations: 103.9 kB / 0.6758 GB, free: 10.22 MB / 0.5294 GB 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.0005446/0.4839, allocations: 215.1 kB / 0.676 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005296/0.4844, allocations: 203.8 kB / 0.6762 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4844, allocations: 0 / 0.6762 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.4847, allocations: 119.9 kB / 0.6763 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.4852, allocations: 32.03 kB / 0.6763 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006596/0.4858, allocations: 254.2 kB / 0.6766 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.4862, allocations: 0.7 MB / 0.6772 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003269/0.4865, allocations: 72.73 kB / 0.6773 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.4867, allocations: 31.39 kB / 0.6773 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.4867, allocations: 0 / 0.6773 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of Templates: time 0.01111/0.4978, allocations: 6.184 MB / 0.6834 GB, free: 2.367 MB / 0.5294 GB 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","/var/lib/jenkins/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