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.001536/0.001536, allocations: 99.14 kB / 15.98 MB, free: 5.879 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.001803/0.001804, allocations: 193 kB / 16.9 MB, free: 5.738 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.708/1.708, allocations: 205.1 MB / 222.8 MB, free: 4.551 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.4019/0.4019, allocations: 43.5 MB / 313.6 MB, free: 8.281 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: 71.89 kB / 382.2 MB, free: 8.375 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1264, allocations: 57.78 MB / 440 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4287/0.5552, allocations: 151 MB / 0.5771 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004611/0.5598, allocations: 3.618 MB / 0.5807 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.5599, allocations: 0 / 0.5807 GB, free: 1.289 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.5601, allocations: 31.81 kB / 0.5807 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.5602, allocations: 31.77 kB / 0.5807 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.5615, allocations: 403.1 kB / 0.5811 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.989e-05/0.5616, allocations: 75.58 kB / 0.5812 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.5616, allocations: 4 kB / 0.5812 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.543e-05/0.5617, allocations: 31.86 kB / 0.5812 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.5618, allocations: 27.84 kB / 0.5813 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.5618, allocations: 5.5 kB / 0.5813 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.5629, allocations: 498.8 kB / 0.5817 GB, free: 212 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.5629, allocations: 4 kB / 0.5817 GB, free: 208 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.563, allocations: 35.86 kB / 0.5818 GB, free: 172 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006426/0.5636, allocations: 311.3 kB / 0.5821 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5637, allocations: 0 / 0.5821 GB, free: 15.86 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5637, allocations: 0 / 0.5821 GB, free: 15.86 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.5637, allocations: 0 / 0.5821 GB, free: 15.86 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.0005859/0.5643, allocations: 407 kB / 0.5825 GB, free: 15.42 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.5643, allocations: 8.031 kB / 0.5825 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.5643, allocations: 12.83 kB / 0.5825 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.5645, allocations: 175.7 kB / 0.5826 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5645, allocations: 11.94 kB / 0.5827 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.5645, allocations: 4 kB / 0.5827 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.5647, allocations: 69.67 kB / 0.5827 GB, free: 15.1 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5647, allocations: 7.906 kB / 0.5827 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.5647, allocations: 3.938 kB / 0.5827 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5647, allocations: 0 / 0.5827 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.109e-05/0.5648, allocations: 55.89 kB / 0.5828 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.5653, allocations: 377.8 kB / 0.5832 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.5654, allocations: 58.56 kB / 0.5832 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.5654, allocations: 32.95 kB / 0.5832 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001761/0.5672, allocations: 1.231 MB / 0.5844 GB, free: 13.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.5672, allocations: 34.55 kB / 0.5845 GB, free: 12.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.5672, allocations: 0 / 0.5845 GB, free: 12.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.007024/0.5743, allocations: 0.6615 MB / 0.5851 GB, free: 12.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5743, allocations: 63.34 kB / 0.5852 GB, free: 12.24 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.5744, allocations: 102.5 kB / 0.5853 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5745, allocations: 25.7 kB / 0.5853 GB, free: 12.1 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.5745, allocations: 92.33 kB / 0.5854 GB, free: 12.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.5746, allocations: 43.3 kB / 0.5854 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.5747, allocations: 45.67 kB / 0.5855 GB, free: 11.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5748, allocations: 318.8 kB / 0.5858 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.575, allocations: 79.94 kB / 0.5859 GB, free: 11.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5752, allocations: 107.3 kB / 0.586 GB, free: 11.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004265/0.5757, allocations: 205 kB / 0.5862 GB, free: 11.2 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5757, allocations: 0 / 0.5862 GB, free: 11.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000558/0.5763, allocations: 253.4 kB / 0.5864 GB, free: 10.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5763, allocations: 4 kB / 0.5864 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.5763, allocations: 0 / 0.5864 GB, free: 10.94 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5763, allocations: 4 kB / 0.5864 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007191/0.577, allocations: 49.06 kB / 0.5865 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.5771, allocations: 7.938 kB / 0.5865 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.5776, allocations: 19.98 kB / 0.5865 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.5777, allocations: 11.98 kB / 0.5865 GB, free: 10.85 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.0001223/0.5778, allocations: 125.8 kB / 0.5866 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.5779, allocations: 11.84 kB / 0.5866 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008056/0.5787, allocations: 343.7 kB / 0.5869 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5787, allocations: 0.5 kB / 0.587 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5787, allocations: 0 / 0.587 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.5787, allocations: 0 / 0.587 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.5798, allocations: 0.7608 MB / 0.5877 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5799, allocations: 0.5 kB / 0.5877 GB, free: 9.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.5805, allocations: 47.91 kB / 0.5877 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.5805, allocations: 0 / 0.5877 GB, free: 9.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.5806, allocations: 12.48 kB / 0.5878 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5806, allocations: 0 / 0.5878 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5806, allocations: 0 / 0.5878 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.5812, allocations: 358.3 kB / 0.5881 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.859e-05/0.5813, allocations: 104 kB / 0.5882 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.5813, allocations: 4 kB / 0.5882 GB, free: 8.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.5819, allocations: 15.98 kB / 0.5882 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.5819, allocations: 15.92 kB / 0.5882 GB, free: 8.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.392e-05/0.582, allocations: 15.98 kB / 0.5882 GB, free: 8.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.031e-05/0.582, allocations: 83.22 kB / 0.5883 GB, free: 8.848 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.582, allocations: 0 / 0.5883 GB, free: 8.848 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.5825, allocations: 99.92 kB / 0.5884 GB, free: 8.75 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.000516/0.5831, allocations: 230.9 kB / 0.5886 GB, free: 8.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005608/0.5836, allocations: 219.8 kB / 0.5888 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5836, allocations: 8.062 kB / 0.5889 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.5839, allocations: 111.9 kB / 0.589 GB, free: 8.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005052/0.5844, allocations: 30.41 kB / 0.589 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.5851, allocations: 291.6 kB / 0.5893 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.5853, allocations: 0.6931 MB / 0.5899 GB, free: 7.133 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004779/0.5858, allocations: 74.25 kB / 0.59 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.5861, allocations: 39.38 kB / 0.5901 GB, free: 7.027 MB / 462.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5861, allocations: 0 / 0.5901 GB, free: 7.027 MB / 462.1 MB Notification: Performance of Templates: time 0.01202/0.5981, allocations: 6.225 MB / 0.5961 GB, free: 0.8203 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