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.001082/0.001082, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.00101/0.00101, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.37/1.37, allocations: 222.9 MB / 242.9 MB, free: 15.15 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.1992/0.1992, allocations: 44.18 MB / 337.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 68.09 kB / 409.1 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.105, allocations: 60.82 MB / 469.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3721/0.4771, allocations: 151.5 MB / 0.6068 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.4786, allocations: 1.197 MB / 0.608 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.4786, allocations: 0 / 0.608 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.4788, allocations: 31.81 kB / 0.608 GB, free: 7.906 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.4789, allocations: 31.77 kB / 0.6081 GB, free: 7.875 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.4802, allocations: 447.8 kB / 0.6085 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.4803, allocations: 63.66 kB / 0.6086 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.4804, allocations: 0 / 0.6086 GB, free: 7.379 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.4805, allocations: 39.86 kB / 0.6086 GB, free: 7.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.4806, allocations: 27.84 kB / 0.6086 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.4806, allocations: 0 / 0.6086 GB, free: 7.312 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.4816, allocations: 498.7 kB / 0.6091 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.4816, allocations: 4 kB / 0.6091 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.4817, allocations: 31.88 kB / 0.6091 GB, free: 6.789 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000529/0.4822, allocations: 319.2 kB / 0.6094 GB, free: 6.477 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4822, allocations: 0 / 0.6094 GB, free: 6.477 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4823, allocations: 4 kB / 0.6094 GB, free: 6.473 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.4823, allocations: 0 / 0.6094 GB, free: 6.473 MB / 446.1 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.0005706/0.4828, allocations: 403.9 kB / 0.6098 GB, free: 6.031 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4829, allocations: 8.031 kB / 0.6098 GB, free: 6.023 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.4829, allocations: 9.25 kB / 0.6098 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.4831, allocations: 166.9 kB / 0.61 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4831, allocations: 12 kB / 0.61 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.4831, allocations: 4 kB / 0.61 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.4833, allocations: 77.59 kB / 0.6101 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4833, allocations: 0 / 0.6101 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4833, allocations: 4 kB / 0.6101 GB, free: 5.711 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.4833, allocations: 4 kB / 0.6101 GB, free: 5.707 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.541e-05/0.4834, allocations: 43.97 kB / 0.6101 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.4839, allocations: 385.8 kB / 0.6105 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.484, allocations: 66.48 kB / 0.6106 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.484, allocations: 16.86 kB / 0.6106 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001843/0.4859, allocations: 1.24 MB / 0.6118 GB, free: 3.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.4859, allocations: 34.56 kB / 0.6118 GB, free: 3.602 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.4859, allocations: 0 / 0.6118 GB, free: 3.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007385/0.4933, allocations: 0.6571 MB / 0.6125 GB, free: 2.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4934, allocations: 63.39 kB / 0.6125 GB, free: 2.863 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.768e-05/0.4935, allocations: 97.86 kB / 0.6126 GB, free: 2.758 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.4935, allocations: 29.7 kB / 0.6127 GB, free: 2.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.4936, allocations: 88.31 kB / 0.6127 GB, free: 2.633 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.4936, allocations: 51.3 kB / 0.6128 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.4937, allocations: 41.67 kB / 0.6128 GB, free: 2.535 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.776e-05/0.4938, allocations: 318.8 kB / 0.6131 GB, free: 2.215 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.494, allocations: 80.5 kB / 0.6132 GB, free: 2.137 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.4943, allocations: 106.5 kB / 0.6133 GB, free: 2.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004419/0.4947, allocations: 198.5 kB / 0.6135 GB, free: 1.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4947, allocations: 0 / 0.6135 GB, free: 1.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005852/0.4953, allocations: 258.5 kB / 0.6137 GB, free: 1.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.4954, allocations: 8 kB / 0.6138 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.4954, allocations: 3.938 kB / 0.6138 GB, free: 1.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4954, allocations: 3.938 kB / 0.6138 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.4961, allocations: 52.77 kB / 0.6138 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4962, allocations: 0 / 0.6138 GB, free: 1.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006045/0.4968, allocations: 19.98 kB / 0.6138 GB, free: 1.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.211e-05/0.4968, allocations: 11.98 kB / 0.6138 GB, free: 1.465 MB / 446.1 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.0001195/0.4969, allocations: 121.8 kB / 0.614 GB, free: 1.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.138e-05/0.497, allocations: 11.89 kB / 0.614 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008208/0.4978, allocations: 350.1 kB / 0.6143 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4978, allocations: 4 kB / 0.6143 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4979, allocations: 0 / 0.6143 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4979, allocations: 0 / 0.6143 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.4989, allocations: 0.7523 MB / 0.615 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.499, allocations: 3.188 kB / 0.615 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.4996, allocations: 47.97 kB / 0.6151 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4997, allocations: 4 kB / 0.6151 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.4997, allocations: 3.984 kB / 0.6151 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4997, allocations: 4 kB / 0.6151 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4997, allocations: 0 / 0.6151 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006296/0.5003, allocations: 357.8 kB / 0.6154 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.5005, allocations: 105 kB / 0.6155 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.5005, allocations: 11.98 kB / 0.6156 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.5011, allocations: 8 kB / 0.6156 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/0.5012, allocations: 15.92 kB / 0.6156 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.5012, allocations: 11.98 kB / 0.6156 GB, free: 15.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.5013, allocations: 87.27 kB / 0.6157 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5013, allocations: 0 / 0.6157 GB, free: 15.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004497/0.5017, allocations: 99.92 kB / 0.6158 GB, free: 15.36 MB / 462.1 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.0004282/0.5022, allocations: 226.9 kB / 0.616 GB, free: 15.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.5027, allocations: 211.8 kB / 0.6162 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5027, allocations: 128 / 0.6162 GB, free: 14.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002439/0.503, allocations: 119.9 kB / 0.6163 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004527/0.5034, allocations: 30.31 kB / 0.6163 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000605/0.504, allocations: 293.2 kB / 0.6166 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.5043, allocations: 0.7001 MB / 0.6173 GB, free: 13.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002162/0.5045, allocations: 35.34 kB / 0.6173 GB, free: 13.69 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5045, allocations: 0 / 0.6173 GB, free: 13.69 MB / 462.1 MB Notification: Performance of Templates: time 0.006077/0.5106, allocations: 4.094 MB / 0.6213 GB, free: 9.59 MB / 462.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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