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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 108 kB / 16.41 MB, free: 6.449 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.001361/0.001361, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2272/0.2272, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001384, allocations: 73.45 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1072, allocations: 57.78 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4188/0.5261, allocations: 153.1 MB / 0.6374 GB, free: 1.586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005039/0.5312, allocations: 3.634 MB / 0.641 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.5313, allocations: 0 / 0.641 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.5315, allocations: 39.75 kB / 0.641 GB, free: 13.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.08e-05/0.5316, allocations: 31.77 kB / 0.641 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.5333, allocations: 433.4 kB / 0.6414 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.5334, allocations: 79.52 kB / 0.6415 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.656e-05/0.5335, allocations: 0 / 0.6415 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.926e-05/0.5336, allocations: 31.86 kB / 0.6415 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.5337, allocations: 31.91 kB / 0.6416 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.5337, allocations: 0 / 0.6416 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.5349, allocations: 0.4909 MB / 0.642 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.174e-05/0.5349, allocations: 11.94 kB / 0.6421 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.535, allocations: 23.94 kB / 0.6421 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.5357, allocations: 314.3 kB / 0.6424 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5357, allocations: 4 kB / 0.6424 GB, free: 12.48 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5357, allocations: 0 / 0.6424 GB, free: 12.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.5357, allocations: 0 / 0.6424 GB, free: 12.48 MB / 494.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.0006622/0.5364, allocations: 410.7 kB / 0.6428 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.639e-05/0.5364, allocations: 8.031 kB / 0.6428 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.5365, allocations: 8.844 kB / 0.6428 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.5366, allocations: 167.7 kB / 0.643 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5367, allocations: 8 kB / 0.643 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.5367, allocations: 8 kB / 0.643 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5369, allocations: 82.47 kB / 0.643 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.5369, allocations: 3.906 kB / 0.6431 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5369, allocations: 4 kB / 0.6431 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5369, allocations: 4 kB / 0.6431 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.127e-05/0.537, allocations: 43.97 kB / 0.6431 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.5376, allocations: 377.8 kB / 0.6435 GB, free: 11.22 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.5378, allocations: 70.48 kB / 0.6435 GB, free: 11.14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.5378, allocations: 16.86 kB / 0.6435 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00184/0.5396, allocations: 1.236 MB / 0.6448 GB, free: 9.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.5397, allocations: 34.56 kB / 0.6448 GB, free: 9.605 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.5397, allocations: 0 / 0.6448 GB, free: 9.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.006484/0.5462, allocations: 0.661 MB / 0.6454 GB, free: 8.938 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.5463, allocations: 59.39 kB / 0.6455 GB, free: 8.867 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.5463, allocations: 105.4 kB / 0.6456 GB, free: 8.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.5464, allocations: 29.7 kB / 0.6456 GB, free: 8.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.5464, allocations: 92.25 kB / 0.6457 GB, free: 8.629 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.5465, allocations: 47.92 kB / 0.6458 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.5466, allocations: 41.67 kB / 0.6458 GB, free: 8.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5468, allocations: 322.8 kB / 0.6461 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001984/0.547, allocations: 79.94 kB / 0.6462 GB, free: 8.133 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.5472, allocations: 110.5 kB / 0.6463 GB, free: 8.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.5476, allocations: 206.7 kB / 0.6465 GB, free: 7.805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.5476, allocations: 3.938 kB / 0.6465 GB, free: 7.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005429/0.5482, allocations: 253.3 kB / 0.6467 GB, free: 7.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5482, allocations: 8 kB / 0.6467 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.5482, allocations: 0 / 0.6467 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5482, allocations: 0 / 0.6467 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000631/0.5489, allocations: 51.89 kB / 0.6468 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.5489, allocations: 0 / 0.6468 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.5494, allocations: 19.98 kB / 0.6468 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.5494, allocations: 11.98 kB / 0.6468 GB, free: 7.457 MB / 494.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.0001163/0.5495, allocations: 125.8 kB / 0.6469 GB, free: 7.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.5496, allocations: 11.84 kB / 0.6469 GB, free: 7.312 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007687/0.5504, allocations: 351 kB / 0.6473 GB, free: 6.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.5504, allocations: 4 kB / 0.6473 GB, free: 6.961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5504, allocations: 4 kB / 0.6473 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5504, allocations: 0 / 0.6473 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5515, allocations: 0.752 MB / 0.648 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5515, allocations: 0 / 0.648 GB, free: 6.109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.5521, allocations: 43.97 kB / 0.6481 GB, free: 6.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.5521, allocations: 4 kB / 0.6481 GB, free: 6.062 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.5522, allocations: 3.984 kB / 0.6481 GB, free: 6.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.5522, allocations: 4 kB / 0.6481 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5522, allocations: 0 / 0.6481 GB, free: 6.055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006001/0.5528, allocations: 366.6 kB / 0.6484 GB, free: 5.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.5529, allocations: 108.9 kB / 0.6485 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.5529, allocations: 7.984 kB / 0.6485 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.5534, allocations: 12.5 kB / 0.6485 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.5535, allocations: 11.97 kB / 0.6486 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/0.5535, allocations: 8 kB / 0.6486 GB, free: 5.52 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.5536, allocations: 98.83 kB / 0.6487 GB, free: 5.426 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.5536, allocations: 0 / 0.6487 GB, free: 5.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004612/0.5541, allocations: 99.92 kB / 0.6488 GB, free: 5.328 MB / 494.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.000403/0.5545, allocations: 223 kB / 0.649 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005164/0.555, allocations: 199.8 kB / 0.6492 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.555, allocations: 0 / 0.6492 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.5553, allocations: 123.8 kB / 0.6493 GB, free: 4.785 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.5557, allocations: 37.67 kB / 0.6493 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006158/0.5563, allocations: 248.7 kB / 0.6495 GB, free: 4.48 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5566, allocations: 0.697 MB / 0.6502 GB, free: 3.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003032/0.5569, allocations: 68.73 kB / 0.6503 GB, free: 3.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002016/0.5571, allocations: 35.39 kB / 0.6503 GB, free: 3.656 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5571, allocations: 0 / 0.6503 GB, free: 3.656 MB / 494.1 MB Notification: Performance of Templates: time 0.00996/0.5671, allocations: 6.238 MB / 0.6564 GB, free: 13.41 MB / 0.4981 GB 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches