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.001348/0.001348, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001327/0.001327, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.408/1.408, allocations: 222.9 MB / 242.6 MB, free: 15.42 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.1978/0.1978, allocations: 44.17 MB / 336.9 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 69.67 kB / 408.5 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1069, allocations: 60.82 MB / 469.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4011/0.5081, allocations: 149.4 MB / 0.6042 GB, free: 11.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.5099, allocations: 1.198 MB / 0.6054 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.5099, allocations: 0 / 0.6054 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002008/0.5101, allocations: 34.06 kB / 0.6054 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.359e-05/0.5102, allocations: 23.78 kB / 0.6055 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.5117, allocations: 398.9 kB / 0.6058 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.5118, allocations: 71.55 kB / 0.6059 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.5118, allocations: 4 kB / 0.6059 GB, free: 10.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.512, allocations: 35.84 kB / 0.6059 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.401e-05/0.512, allocations: 27.92 kB / 0.606 GB, free: 9.953 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.512, allocations: 4 kB / 0.606 GB, free: 9.949 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.5132, allocations: 494.8 kB / 0.6064 GB, free: 9.465 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.5133, allocations: 19.86 kB / 0.6065 GB, free: 9.445 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.5133, allocations: 27.86 kB / 0.6065 GB, free: 9.418 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000468/0.5138, allocations: 215.6 kB / 0.6067 GB, free: 9.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5138, allocations: 0 / 0.6067 GB, free: 9.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5138, allocations: 0 / 0.6067 GB, free: 9.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.5138, allocations: 3.938 kB / 0.6067 GB, free: 9.203 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.0006461/0.5145, allocations: 414.8 kB / 0.6071 GB, free: 8.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5145, allocations: 15.97 kB / 0.6071 GB, free: 8.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.5146, allocations: 5.312 kB / 0.6071 GB, free: 8.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.5147, allocations: 170.9 kB / 0.6073 GB, free: 8.527 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.5147, allocations: 4 kB / 0.6073 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.5148, allocations: 4 kB / 0.6073 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.5149, allocations: 77.66 kB / 0.6074 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.5149, allocations: 0 / 0.6074 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.515, allocations: 0 / 0.6074 GB, free: 8.438 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.515, allocations: 4 kB / 0.6074 GB, free: 8.434 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.616e-05/0.5151, allocations: 51.91 kB / 0.6074 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.5156, allocations: 377.8 kB / 0.6078 GB, free: 7.945 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.5157, allocations: 62.56 kB / 0.6078 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.5158, allocations: 24.97 kB / 0.6079 GB, free: 7.848 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/0.5176, allocations: 1.236 MB / 0.6091 GB, free: 6.371 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.5177, allocations: 34.56 kB / 0.6091 GB, free: 6.328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.5177, allocations: 4 kB / 0.6091 GB, free: 6.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.007174/0.5249, allocations: 0.6571 MB / 0.6097 GB, free: 5.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.5249, allocations: 55.41 kB / 0.6098 GB, free: 5.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.5251, allocations: 105.8 kB / 0.6099 GB, free: 5.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.5251, allocations: 29.7 kB / 0.6099 GB, free: 5.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.5252, allocations: 88.33 kB / 0.61 GB, free: 5.355 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.5252, allocations: 55.28 kB / 0.6101 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.5254, allocations: 41.67 kB / 0.6101 GB, free: 5.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5255, allocations: 319.4 kB / 0.6104 GB, free: 4.934 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.5257, allocations: 79.94 kB / 0.6105 GB, free: 4.855 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.5259, allocations: 106.5 kB / 0.6106 GB, free: 4.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004456/0.5264, allocations: 207.4 kB / 0.6108 GB, free: 4.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5264, allocations: 4 kB / 0.6108 GB, free: 4.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005649/0.527, allocations: 247.6 kB / 0.611 GB, free: 4.281 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.527, allocations: 7.938 kB / 0.611 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.527, allocations: 4 kB / 0.611 GB, free: 4.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.527, allocations: 3.984 kB / 0.611 GB, free: 4.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.5277, allocations: 52.02 kB / 0.6111 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.5277, allocations: 0 / 0.6111 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.5283, allocations: 19.98 kB / 0.6111 GB, free: 4.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.5284, allocations: 11.98 kB / 0.6111 GB, free: 4.184 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.0001388/0.5285, allocations: 125.7 kB / 0.6112 GB, free: 4.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.5286, allocations: 7.906 kB / 0.6112 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008442/0.5294, allocations: 347.8 kB / 0.6116 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.5294, allocations: 0 / 0.6116 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5294, allocations: 4 kB / 0.6116 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5295, allocations: 3.938 kB / 0.6116 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.5306, allocations: 0.7562 MB / 0.6123 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5306, allocations: 0 / 0.6123 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.5312, allocations: 43.91 kB / 0.6124 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5313, allocations: 4 kB / 0.6124 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.5313, allocations: 7.984 kB / 0.6124 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.5313, allocations: 0 / 0.6124 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5313, allocations: 4 kB / 0.6124 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.5319, allocations: 357.7 kB / 0.6127 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.203e-05/0.532, allocations: 101 kB / 0.6128 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.452e-05/0.5321, allocations: 4 kB / 0.6128 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.5327, allocations: 15.98 kB / 0.6128 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.5327, allocations: 15.86 kB / 0.6129 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.5328, allocations: 19.61 kB / 0.6129 GB, free: 2.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.5328, allocations: 87.27 kB / 0.613 GB, free: 2.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5328, allocations: 0 / 0.613 GB, free: 2.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.5333, allocations: 99.94 kB / 0.6131 GB, free: 2.07 MB / 446.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.0004691/0.5338, allocations: 219.6 kB / 0.6133 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005426/0.5343, allocations: 215.8 kB / 0.6135 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5343, allocations: 0 / 0.6135 GB, free: 1.633 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.5346, allocations: 119.8 kB / 0.6136 GB, free: 1.516 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.5351, allocations: 31.06 kB / 0.6136 GB, free: 1.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.5357, allocations: 322.7 kB / 0.6139 GB, free: 1.141 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.536, allocations: 0.704 MB / 0.6146 GB, free: 420 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002566/0.5363, allocations: 39.38 kB / 0.6146 GB, free: 380 kB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5363, allocations: 0 / 0.6146 GB, free: 380 kB / 446.1 MB Notification: Performance of Templates: time 0.006987/0.5433, allocations: 4.081 MB / 0.6186 GB, free: 12.29 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