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.0009958/0.0009956, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 186.7 kB / 16.92 MB, free: 6.918 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.889/1.889, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.4267/0.4267, allocations: 43.58 MB / 315 MB, free: 8.723 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.0006341/0.0006341, allocations: 16 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1447, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4129/0.5577, allocations: 149 MB / 0.5785 GB, free: 6.332 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004768/0.5625, allocations: 3.677 MB / 0.5821 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.5626, allocations: 0 / 0.5821 GB, free: 2.672 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.5628, allocations: 43.8 kB / 0.5821 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.705e-05/0.5629, allocations: 27.78 kB / 0.5822 GB, free: 2.602 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.5642, allocations: 379.1 kB / 0.5825 GB, free: 2.234 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.403e-05/0.5643, allocations: 71.59 kB / 0.5826 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.54e-05/0.5643, allocations: 4 kB / 0.5826 GB, free: 2.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.536e-05/0.5644, allocations: 31.91 kB / 0.5826 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.109e-05/0.5645, allocations: 31.86 kB / 0.5827 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.5645, allocations: 0 / 0.5827 GB, free: 2.098 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5656, allocations: 494.8 kB / 0.5831 GB, free: 1.613 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.963e-05/0.5657, allocations: 7.984 kB / 0.5831 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.616e-05/0.5657, allocations: 53.56 kB / 0.5832 GB, free: 1.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.5662, allocations: 323.2 kB / 0.5835 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5662, allocations: 0 / 0.5835 GB, free: 1.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5663, allocations: 0 / 0.5835 GB, free: 1.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.5663, allocations: 0 / 0.5835 GB, free: 1.23 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.0005224/0.5668, allocations: 394.7 kB / 0.5839 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.5668, allocations: 8.031 kB / 0.5839 GB, free: 0.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.239e-05/0.5669, allocations: 9.406 kB / 0.5839 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.567, allocations: 171.7 kB / 0.5841 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.567, allocations: 8 kB / 0.5841 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.5671, allocations: 19.92 kB / 0.5841 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.5672, allocations: 65.67 kB / 0.5842 GB, free: 492 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.5672, allocations: 7.844 kB / 0.5842 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5672, allocations: 0 / 0.5842 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.5673, allocations: 6.438 kB / 0.5842 GB, free: 480 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.623e-05/0.5673, allocations: 43.97 kB / 0.5842 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.5678, allocations: 377.8 kB / 0.5846 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5679, allocations: 74.47 kB / 0.5846 GB, free: 15.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.614e-05/0.568, allocations: 16.86 kB / 0.5847 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.5699, allocations: 1.231 MB / 0.5859 GB, free: 14.42 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.5699, allocations: 38.56 kB / 0.5859 GB, free: 14.37 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5699, allocations: 0 / 0.5859 GB, free: 14.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.00709/0.577, allocations: 0.6621 MB / 0.5865 GB, free: 13.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5771, allocations: 55.41 kB / 0.5866 GB, free: 13.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.536e-05/0.5772, allocations: 101.9 kB / 0.5867 GB, free: 13.53 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.5772, allocations: 33.7 kB / 0.5867 GB, free: 13.49 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.5773, allocations: 92.31 kB / 0.5868 GB, free: 13.39 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.14e-05/0.5773, allocations: 51.28 kB / 0.5869 GB, free: 13.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.5774, allocations: 13.72 kB / 0.5869 GB, free: 13.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5775, allocations: 322.8 kB / 0.5872 GB, free: 13 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.5777, allocations: 75.95 kB / 0.5873 GB, free: 12.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.578, allocations: 110.5 kB / 0.5874 GB, free: 12.81 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.5784, allocations: 208.5 kB / 0.5876 GB, free: 12.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5784, allocations: 0 / 0.5876 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005505/0.579, allocations: 249.3 kB / 0.5878 GB, free: 12.35 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.579, allocations: 8.062 kB / 0.5878 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.579, allocations: 0 / 0.5878 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.5791, allocations: 4 kB / 0.5878 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007046/0.5798, allocations: 55.88 kB / 0.5879 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.5798, allocations: 4 kB / 0.5879 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000555/0.5803, allocations: 8 kB / 0.5879 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/0.5804, allocations: 15.97 kB / 0.5879 GB, free: 12.25 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.0001404/0.5806, allocations: 121.8 kB / 0.588 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.387e-05/0.5806, allocations: 15.84 kB / 0.588 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/0.5815, allocations: 344.4 kB / 0.5883 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5815, allocations: 8 kB / 0.5884 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5815, allocations: 0 / 0.5884 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5815, allocations: 0 / 0.5884 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5827, allocations: 0.7615 MB / 0.5891 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5827, allocations: 0 / 0.5891 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/0.5833, allocations: 43.95 kB / 0.5891 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5833, allocations: 0 / 0.5891 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.5834, allocations: 15.98 kB / 0.5892 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5834, allocations: 0 / 0.5892 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5834, allocations: 0 / 0.5892 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.584, allocations: 359.2 kB / 0.5895 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5841, allocations: 109 kB / 0.5896 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.5842, allocations: 0 / 0.5896 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.5847, allocations: 16 kB / 0.5896 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/0.5848, allocations: 11.97 kB / 0.5896 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.5849, allocations: 15.98 kB / 0.5896 GB, free: 10.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.5849, allocations: 83.22 kB / 0.5897 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5849, allocations: 0 / 0.5897 GB, free: 10.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000472/0.5854, allocations: 103.9 kB / 0.5898 GB, free: 10.15 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.0004424/0.5858, allocations: 238.8 kB / 0.5901 GB, free: 9.902 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.5863, allocations: 211.8 kB / 0.5903 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5864, allocations: 0 / 0.5903 GB, free: 9.695 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.5866, allocations: 116 kB / 0.5904 GB, free: 9.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.587, allocations: 31.97 kB / 0.5904 GB, free: 9.551 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.5877, allocations: 296.8 kB / 0.5907 GB, free: 9.242 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.588, allocations: 0.6972 MB / 0.5914 GB, free: 8.52 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004719/0.5885, allocations: 66.84 kB / 0.5914 GB, free: 8.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.5887, allocations: 35.39 kB / 0.5915 GB, free: 8.426 MB / 462.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5887, allocations: 0 / 0.5915 GB, free: 8.426 MB / 462.1 MB Notification: Performance of Templates: time 0.01048/0.5992, allocations: 6.027 MB / 0.5973 GB, free: 2.414 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