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.001621/0.001622, allocations: 99.08 kB / 16.27 MB, free: 6.344 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.0017/0.001701, allocations: 193.8 kB / 17.2 MB, free: 5.945 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.684/1.684, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.214/0.214, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001668/0.001669, allocations: 70.17 kB / 382.7 MB, free: 56.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.102, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.423/0.5251, allocations: 153.1 MB / 0.5797 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004324/0.5295, allocations: 3.642 MB / 0.5833 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.728e-05/0.5296, allocations: 0 / 0.5833 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.5298, allocations: 35.83 kB / 0.5833 GB, free: 12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.493e-05/0.53, allocations: 28.94 kB / 0.5833 GB, free: 11.99 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.5317, allocations: 437.8 kB / 0.5837 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.5319, allocations: 67.19 kB / 0.5838 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.616e-05/0.5319, allocations: 2.719 kB / 0.5838 GB, free: 11.85 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.5321, allocations: 35.61 kB / 0.5838 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.403e-05/0.5321, allocations: 33.77 kB / 0.5839 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.5321, allocations: 2.188 kB / 0.5839 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.5334, allocations: 498.1 kB / 0.5844 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.5334, allocations: 9.984 kB / 0.5844 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.435e-05/0.5334, allocations: 26.27 kB / 0.5844 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.5341, allocations: 314.1 kB / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5341, allocations: 2.906 kB / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5341, allocations: 0 / 0.5847 GB, free: 11.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.5341, allocations: 0 / 0.5847 GB, free: 11.7 MB / 430.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.0006566/0.5348, allocations: 405.1 kB / 0.5851 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.5348, allocations: 14.09 kB / 0.5851 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.5349, allocations: 7.531 kB / 0.5851 GB, free: 11.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.535, allocations: 173.8 kB / 0.5853 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.5351, allocations: 9.812 kB / 0.5853 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.5351, allocations: 9.641 kB / 0.5853 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5353, allocations: 71.31 kB / 0.5854 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.5353, allocations: 3.906 kB / 0.5854 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.5353, allocations: 5.562 kB / 0.5854 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5354, allocations: 7.25 kB / 0.5854 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.5355, allocations: 46.66 kB / 0.5854 GB, free: 11.02 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.536, allocations: 378.6 kB / 0.5858 GB, free: 10.63 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.5362, allocations: 64.69 kB / 0.5858 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.5362, allocations: 21.77 kB / 0.5859 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.5381, allocations: 1.231 MB / 0.5871 GB, free: 9.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.5382, allocations: 34.56 kB / 0.5871 GB, free: 9.254 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.5382, allocations: 192 / 0.5871 GB, free: 9.254 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00718/0.5454, allocations: 0.6706 MB / 0.5877 GB, free: 9.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.5455, allocations: 53.97 kB / 0.5878 GB, free: 8.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.5456, allocations: 98.7 kB / 0.5879 GB, free: 8.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.5456, allocations: 28.89 kB / 0.5879 GB, free: 8.848 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.5457, allocations: 91.62 kB / 0.588 GB, free: 8.758 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.5458, allocations: 51.23 kB / 0.5881 GB, free: 8.719 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001245/0.5459, allocations: 43.3 kB / 0.5881 GB, free: 8.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.546, allocations: 317.1 kB / 0.5884 GB, free: 8.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.5462, allocations: 79.84 kB / 0.5885 GB, free: 8.363 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5465, allocations: 107.9 kB / 0.5886 GB, free: 8.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.5469, allocations: 204.6 kB / 0.5888 GB, free: 8.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5469, allocations: 1.938 kB / 0.5888 GB, free: 8.273 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000614/0.5476, allocations: 248.4 kB / 0.589 GB, free: 8.195 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.5476, allocations: 4.75 kB / 0.589 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.5476, allocations: 0 / 0.589 GB, free: 8.195 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5476, allocations: 6.156 kB / 0.589 GB, free: 8.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.5483, allocations: 62.91 kB / 0.5891 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5484, allocations: 0 / 0.5891 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.5489, allocations: 13.03 kB / 0.5891 GB, free: 8.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.549, allocations: 14.55 kB / 0.5891 GB, free: 8.164 MB / 430.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.0001294/0.5491, allocations: 119.6 kB / 0.5892 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.5492, allocations: 13.22 kB / 0.5892 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.55, allocations: 351.7 kB / 0.5896 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.55, allocations: 0 / 0.5896 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.55, allocations: 3.938 kB / 0.5896 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.55, allocations: 3 kB / 0.5896 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.5513, allocations: 0.7538 MB / 0.5903 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.5513, allocations: 0 / 0.5903 GB, free: 7.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006518/0.552, allocations: 50.27 kB / 0.5904 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.552, allocations: 6.688 kB / 0.5904 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.552, allocations: 5.125 kB / 0.5904 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.5521, allocations: 3.984 kB / 0.5904 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5521, allocations: 2.875 kB / 0.5904 GB, free: 7.312 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.5527, allocations: 354 kB / 0.5907 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.5529, allocations: 101.4 kB / 0.5908 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.5529, allocations: 6.312 kB / 0.5908 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/0.5535, allocations: 7.438 kB / 0.5908 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.5535, allocations: 16.19 kB / 0.5908 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/0.5536, allocations: 15.28 kB / 0.5909 GB, free: 7.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.181e-05/0.5536, allocations: 89.69 kB / 0.5909 GB, free: 6.934 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5536, allocations: 0 / 0.5909 GB, free: 6.934 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005546/0.5542, allocations: 104.7 kB / 0.591 GB, free: 6.914 MB / 430.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.0005755/0.5548, allocations: 215.6 kB / 0.5912 GB, free: 6.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005504/0.5554, allocations: 229.4 kB / 0.5915 GB, free: 6.73 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.5554, allocations: 4 kB / 0.5915 GB, free: 6.727 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002277/0.5556, allocations: 113.8 kB / 0.5916 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.5561, allocations: 35 kB / 0.5916 GB, free: 6.691 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.5568, allocations: 257.8 kB / 0.5919 GB, free: 6.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.5571, allocations: 0.699 MB / 0.5925 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004647/0.5576, allocations: 65.92 kB / 0.5926 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.5578, allocations: 35.55 kB / 0.5926 GB, free: 5.762 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5578, allocations: 0 / 0.5926 GB, free: 5.762 MB / 430.1 MB Notification: Performance of Templates: time 0.01369/0.5715, allocations: 6.231 MB / 0.5987 GB, free: 2.512 MB / 430.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches