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.007228/0.007228, allocations: 100.2 kB / 15.87 MB, free: 6.316 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.00117/0.00117, allocations: 195.7 kB / 16.79 MB, free: 6.242 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.716/1.716, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4097/0.4097, allocations: 43.5 MB / 313.5 MB, free: 8.277 MB / 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.001469/0.001469, allocations: 70.56 kB / 382 MB, free: 8.492 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 57.79 MB / 439.8 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4027/0.5369, allocations: 150.9 MB / 0.5769 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004409/0.5413, allocations: 3.733 MB / 0.5805 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.5414, allocations: 0 / 0.5805 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.5417, allocations: 35.86 kB / 0.5806 GB, free: 1.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.165e-05/0.5418, allocations: 23.78 kB / 0.5806 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.5431, allocations: 383.1 kB / 0.581 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.5433, allocations: 68.91 kB / 0.581 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.5433, allocations: 7.938 kB / 0.581 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.5434, allocations: 27.98 kB / 0.5811 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.513e-05/0.5435, allocations: 31.84 kB / 0.5811 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.5435, allocations: 8 kB / 0.5811 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.5446, allocations: 494.8 kB / 0.5816 GB, free: 324 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.5446, allocations: 8 kB / 0.5816 GB, free: 316 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.5447, allocations: 19.88 kB / 0.5816 GB, free: 296 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.5452, allocations: 319.2 kB / 0.5819 GB, free: 15.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.5452, allocations: 4 kB / 0.5819 GB, free: 15.97 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5452, allocations: 0 / 0.5819 GB, free: 15.97 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.5453, allocations: 0 / 0.5819 GB, free: 15.97 MB / 462.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.0005866/0.5459, allocations: 411 kB / 0.5823 GB, free: 15.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5459, allocations: 11.97 kB / 0.5823 GB, free: 15.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.5459, allocations: 12.78 kB / 0.5823 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.5461, allocations: 171.7 kB / 0.5825 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5461, allocations: 11.92 kB / 0.5825 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.5461, allocations: 8 kB / 0.5825 GB, free: 15.28 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.5463, allocations: 69.66 kB / 0.5826 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5463, allocations: 3.906 kB / 0.5826 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.5463, allocations: 0 / 0.5826 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.5463, allocations: 9.625 kB / 0.5826 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.5e-05/0.5464, allocations: 47.97 kB / 0.5826 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.5469, allocations: 369.8 kB / 0.583 GB, free: 14.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.547, allocations: 70.48 kB / 0.583 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.506e-05/0.547, allocations: 16.86 kB / 0.5831 GB, free: 14.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00177/0.5488, allocations: 1.235 MB / 0.5843 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5488, allocations: 42.56 kB / 0.5843 GB, free: 13.09 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.5489, allocations: 0 / 0.5843 GB, free: 13.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007169/0.556, allocations: 0.661 MB / 0.585 GB, free: 12.43 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.5561, allocations: 51.53 kB / 0.585 GB, free: 12.36 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.5562, allocations: 105.8 kB / 0.5851 GB, free: 12.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.5563, allocations: 29.7 kB / 0.5851 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.5563, allocations: 84.33 kB / 0.5852 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.5564, allocations: 55.3 kB / 0.5853 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.5565, allocations: 41.67 kB / 0.5853 GB, free: 12.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5566, allocations: 310.8 kB / 0.5856 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.5569, allocations: 87.94 kB / 0.5857 GB, free: 11.63 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002256/0.5571, allocations: 106.5 kB / 0.5858 GB, free: 11.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004532/0.5576, allocations: 205.8 kB / 0.586 GB, free: 11.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5576, allocations: 3.125 kB / 0.586 GB, free: 11.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005847/0.5582, allocations: 245.3 kB / 0.5862 GB, free: 11.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.5582, allocations: 4 kB / 0.5862 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.5582, allocations: 8.484 kB / 0.5862 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.5582, allocations: 0 / 0.5862 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006898/0.5589, allocations: 67.88 kB / 0.5863 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.559, allocations: 0 / 0.5863 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/0.5595, allocations: 12 kB / 0.5863 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/0.5596, allocations: 19.97 kB / 0.5863 GB, free: 10.95 MB / 462.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.0001344/0.5597, allocations: 117.8 kB / 0.5864 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-05/0.5598, allocations: 11.84 kB / 0.5864 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008702/0.5606, allocations: 339.7 kB / 0.5868 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5607, allocations: 4 kB / 0.5868 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.5607, allocations: 0 / 0.5868 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5607, allocations: 3.984 kB / 0.5868 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.562, allocations: 0.7516 MB / 0.5875 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.562, allocations: 0 / 0.5875 GB, free: 9.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006238/0.5627, allocations: 47.95 kB / 0.5876 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.5627, allocations: 4 kB / 0.5876 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/0.5627, allocations: 3.984 kB / 0.5876 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.5627, allocations: 5.797 kB / 0.5876 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5627, allocations: 0 / 0.5876 GB, free: 9.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.5634, allocations: 359.7 kB / 0.5879 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5635, allocations: 105 kB / 0.588 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/0.5635, allocations: 4 kB / 0.588 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.5641, allocations: 8 kB / 0.588 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.5642, allocations: 15.97 kB / 0.588 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.384e-05/0.5642, allocations: 13.05 kB / 0.5881 GB, free: 9.055 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.5643, allocations: 91.22 kB / 0.5881 GB, free: 8.965 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5643, allocations: 0 / 0.5881 GB, free: 8.965 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000492/0.5648, allocations: 103.9 kB / 0.5882 GB, free: 8.863 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.0004852/0.5652, allocations: 234.9 kB / 0.5885 GB, free: 8.621 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005424/0.5658, allocations: 214.2 kB / 0.5887 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.5658, allocations: 4 kB / 0.5887 GB, free: 8.41 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.5661, allocations: 115.9 kB / 0.5888 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.5665, allocations: 36.03 kB / 0.5888 GB, free: 8.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006883/0.5672, allocations: 280.1 kB / 0.5891 GB, free: 7.969 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.5676, allocations: 0.7011 MB / 0.5898 GB, free: 7.242 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004645/0.568, allocations: 60.75 kB / 0.5898 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.5683, allocations: 35.39 kB / 0.5899 GB, free: 7.152 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5683, allocations: 0 / 0.5899 GB, free: 7.152 MB / 462.1 MB Notification: Performance of Templates: time 0.01036/0.5786, allocations: 6.038 MB / 0.5958 GB, free: 1.129 MB / 462.1 MB 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches