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.001207/0.001207, allocations: 107.3 kB / 18.4 MB, free: 4.59 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.001098/0.001098, allocations: 192 kB / 19.34 MB, free: 3.66 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.539/1.539, allocations: 222.9 MB / 243 MB, free: 15.17 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.2229/0.2229, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.88 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1503, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.5271/0.6775, allocations: 151.5 MB / 0.6076 GB, free: 8.668 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.6789, allocations: 1.196 MB / 0.6088 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.832e-05/0.679, allocations: 0 / 0.6088 GB, free: 7.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.6792, allocations: 39.8 kB / 0.6088 GB, free: 7.441 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.059e-05/0.6793, allocations: 31.72 kB / 0.6088 GB, free: 7.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.6806, allocations: 433.4 kB / 0.6093 GB, free: 6.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.6807, allocations: 75.53 kB / 0.6093 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.6808, allocations: 5.828 kB / 0.6093 GB, free: 6.914 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.6809, allocations: 35.84 kB / 0.6094 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.6809, allocations: 23.92 kB / 0.6094 GB, free: 6.855 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.6809, allocations: 4 kB / 0.6094 GB, free: 6.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.682, allocations: 498.7 kB / 0.6099 GB, free: 6.363 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.682, allocations: 11.94 kB / 0.6099 GB, free: 6.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.682, allocations: 23.92 kB / 0.6099 GB, free: 6.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.6825, allocations: 311.2 kB / 0.6102 GB, free: 6.027 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.6825, allocations: 0 / 0.6102 GB, free: 6.027 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.6825, allocations: 0 / 0.6102 GB, free: 6.027 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.6825, allocations: 0 / 0.6102 GB, free: 6.027 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.0005051/0.683, allocations: 407.9 kB / 0.6106 GB, free: 5.582 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.943e-05/0.6831, allocations: 11.97 kB / 0.6106 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.6831, allocations: 9.312 kB / 0.6106 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6832, allocations: 174.9 kB / 0.6108 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.6832, allocations: 0 / 0.6108 GB, free: 5.352 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.6833, allocations: 8 kB / 0.6108 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.6834, allocations: 73.66 kB / 0.6109 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.6834, allocations: 7.984 kB / 0.6109 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.6835, allocations: 3.938 kB / 0.6109 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6835, allocations: 0 / 0.6109 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.6835, allocations: 51.91 kB / 0.6109 GB, free: 5.203 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004071/0.684, allocations: 381.8 kB / 0.6113 GB, free: 4.762 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.6841, allocations: 66.55 kB / 0.6113 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.313e-05/0.6841, allocations: 20.98 kB / 0.6114 GB, free: 4.664 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/0.6859, allocations: 1.236 MB / 0.6126 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.6859, allocations: 30.56 kB / 0.6126 GB, free: 3.148 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.6859, allocations: 0 / 0.6126 GB, free: 3.148 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.006976/0.6929, allocations: 0.657 MB / 0.6132 GB, free: 2.484 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.693, allocations: 63.39 kB / 0.6133 GB, free: 2.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.6931, allocations: 101.8 kB / 0.6134 GB, free: 2.301 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.6932, allocations: 25.7 kB / 0.6134 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6933, allocations: 100.2 kB / 0.6135 GB, free: 2.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/0.6933, allocations: 43.3 kB / 0.6136 GB, free: 2.125 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.6935, allocations: 45.67 kB / 0.6136 GB, free: 2.074 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6936, allocations: 314.8 kB / 0.6139 GB, free: 1.758 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.6938, allocations: 83.94 kB / 0.614 GB, free: 1.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.694, allocations: 102.5 kB / 0.6141 GB, free: 1.566 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/0.6945, allocations: 207.5 kB / 0.6143 GB, free: 1.355 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.6945, allocations: 0 / 0.6143 GB, free: 1.355 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005323/0.695, allocations: 252.2 kB / 0.6145 GB, free: 1.105 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.695, allocations: 7.984 kB / 0.6145 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6951, allocations: 0 / 0.6145 GB, free: 1.098 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6951, allocations: 4 kB / 0.6145 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.6958, allocations: 47.95 kB / 0.6146 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.6958, allocations: 4.562 kB / 0.6146 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.6963, allocations: 19.36 kB / 0.6146 GB, free: 1.027 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/0.6964, allocations: 7.984 kB / 0.6146 GB, free: 1.02 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.0001158/0.6965, allocations: 129.8 kB / 0.6147 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.6966, allocations: 7.906 kB / 0.6147 GB, free: 0.875 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007749/0.6974, allocations: 345.3 kB / 0.6151 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.6974, allocations: 0 / 0.6151 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6974, allocations: 4 kB / 0.6151 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.6974, allocations: 0 / 0.6151 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.6986, allocations: 0.7601 MB / 0.6158 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6986, allocations: 0 / 0.6158 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.6992, allocations: 43.91 kB / 0.6159 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.6992, allocations: 0 / 0.6159 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.6993, allocations: 11.98 kB / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.6993, allocations: 0 / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6993, allocations: 4 kB / 0.6159 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.7, allocations: 353.9 kB / 0.6162 GB, free: 15.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.7001, allocations: 105 kB / 0.6163 GB, free: 15.14 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.7002, allocations: 3.938 kB / 0.6163 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.7007, allocations: 15.98 kB / 0.6163 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.7007, allocations: 19.86 kB / 0.6163 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.7008, allocations: 19.92 kB / 0.6164 GB, free: 15.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.7008, allocations: 84.14 kB / 0.6164 GB, free: 15 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7008, allocations: 0 / 0.6164 GB, free: 15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006126/0.7015, allocations: 99.94 kB / 0.6165 GB, free: 14.9 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.0004197/0.7019, allocations: 215.1 kB / 0.6167 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004902/0.7024, allocations: 207.8 kB / 0.6169 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7024, allocations: 0 / 0.6169 GB, free: 14.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.7026, allocations: 119.9 kB / 0.6171 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.7031, allocations: 36.77 kB / 0.6171 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.7037, allocations: 271.5 kB / 0.6174 GB, free: 14.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.7041, allocations: 0.6963 MB / 0.618 GB, free: 13.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004239/0.7045, allocations: 68.73 kB / 0.6181 GB, free: 13.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.7047, allocations: 31.39 kB / 0.6181 GB, free: 13.22 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.7047, allocations: 0 / 0.6181 GB, free: 13.22 MB / 462.1 MB Notification: Performance of Templates: time 0.009758/0.7145, allocations: 6.148 MB / 0.6241 GB, free: 7.066 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 -s cvode -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