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.001231/0.001231, allocations: 98.28 kB / 17 MB, free: 6.414 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.002196/0.002197, allocations: 189.3 kB / 17.89 MB, free: 5.945 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.531/1.531, allocations: 223.3 MB / 241.9 MB, free: 240 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 12 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 61.92 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.4029/0.5317, allocations: 137.4 MB / 0.5947 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.5332, allocations: 1.095 MB / 0.5958 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.5332, allocations: 0 / 0.5958 GB, free: 8.688 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.5334, allocations: 29.94 kB / 0.5958 GB, free: 8.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.5334, allocations: 27.83 kB / 0.5959 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.5345, allocations: 358 kB / 0.5962 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.233e-05/0.5346, allocations: 71.59 kB / 0.5963 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.5347, allocations: 0 / 0.5963 GB, free: 8.215 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.5347, allocations: 27.92 kB / 0.5963 GB, free: 8.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.149e-05/0.5348, allocations: 27.84 kB / 0.5963 GB, free: 8.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.5348, allocations: 4 kB / 0.5963 GB, free: 8.156 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009851/0.5358, allocations: 446.9 kB / 0.5968 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.5358, allocations: 4 kB / 0.5968 GB, free: 7.715 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.5359, allocations: 37.7 kB / 0.5968 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.5362, allocations: 205.5 kB / 0.597 GB, free: 7.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5362, allocations: 4 kB / 0.597 GB, free: 7.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5362, allocations: 0 / 0.597 GB, free: 7.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.5362, allocations: 0 / 0.597 GB, free: 7.469 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.0005205/0.5368, allocations: 399.7 kB / 0.5974 GB, free: 7.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.5368, allocations: 8.031 kB / 0.5974 GB, free: 7.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.5368, allocations: 4 kB / 0.5974 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.537, allocations: 174.9 kB / 0.5976 GB, free: 6.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.537, allocations: 8 kB / 0.5976 GB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.537, allocations: 8 kB / 0.5976 GB, free: 6.793 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.5372, allocations: 75.11 kB / 0.5976 GB, free: 6.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5372, allocations: 7.891 kB / 0.5976 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.5372, allocations: 0 / 0.5976 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5372, allocations: 0 / 0.5976 GB, free: 6.707 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.5373, allocations: 47.97 kB / 0.5977 GB, free: 6.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.5377, allocations: 389.8 kB / 0.5981 GB, free: 6.211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.5379, allocations: 62.56 kB / 0.5981 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.5379, allocations: 20.84 kB / 0.5981 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001708/0.5396, allocations: 1.232 MB / 0.5993 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.5397, allocations: 34.69 kB / 0.5994 GB, free: 4.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.5397, allocations: 0 / 0.5994 GB, free: 4.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.005979/0.5457, allocations: 0.657 MB / 0.6 GB, free: 3.938 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.5457, allocations: 59.36 kB / 0.6001 GB, free: 3.867 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5458, allocations: 101.9 kB / 0.6002 GB, free: 3.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5459, allocations: 25.7 kB / 0.6002 GB, free: 3.727 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.5459, allocations: 96.25 kB / 0.6003 GB, free: 3.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.281e-05/0.546, allocations: 47.34 kB / 0.6003 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.546, allocations: 4 kB / 0.6003 GB, free: 3.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5462, allocations: 314.8 kB / 0.6006 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/0.5464, allocations: 83.88 kB / 0.6007 GB, free: 3.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.5466, allocations: 118.4 kB / 0.6008 GB, free: 3.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.5468, allocations: 87.61 kB / 0.6009 GB, free: 2.973 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5468, allocations: 0 / 0.6009 GB, free: 2.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005474/0.5474, allocations: 245.5 kB / 0.6012 GB, free: 2.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.5474, allocations: 12 kB / 0.6012 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.5474, allocations: 0.5625 kB / 0.6012 GB, free: 2.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5474, allocations: 7.984 kB / 0.6012 GB, free: 2.707 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.5481, allocations: 43.95 kB / 0.6012 GB, free: 2.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.5481, allocations: 7.938 kB / 0.6012 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.5486, allocations: 19.94 kB / 0.6012 GB, free: 2.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.501e-05/0.5486, allocations: 12.61 kB / 0.6013 GB, free: 2.625 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.5487, allocations: 122.3 kB / 0.6014 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.5488, allocations: 15.89 kB / 0.6014 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008/0.5496, allocations: 340.5 kB / 0.6017 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.5496, allocations: 11.98 kB / 0.6017 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5496, allocations: 0 / 0.6017 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.5496, allocations: 0 / 0.6017 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5507, allocations: 0.7557 MB / 0.6025 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5508, allocations: 0.625 kB / 0.6025 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005271/0.5513, allocations: 43.95 kB / 0.6025 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.5513, allocations: 0 / 0.6025 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.5514, allocations: 15.98 kB / 0.6025 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.5514, allocations: 1.5 kB / 0.6025 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.5514, allocations: 3.938 kB / 0.6025 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.552, allocations: 361.6 kB / 0.6029 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.9e-05/0.5521, allocations: 104.9 kB / 0.603 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.017e-05/0.5521, allocations: 0 / 0.603 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004579/0.5526, allocations: 19.98 kB / 0.603 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.5526, allocations: 11.98 kB / 0.603 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.5527, allocations: 11.98 kB / 0.603 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.393e-05/0.5527, allocations: 84.14 kB / 0.6031 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5527, allocations: 0 / 0.6031 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004503/0.5532, allocations: 99.98 kB / 0.6032 GB, free: 0.5117 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000414/0.5536, allocations: 219 kB / 0.6034 GB, free: 292 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.5541, allocations: 211.8 kB / 0.6036 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5541, allocations: 0 / 0.6036 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.5544, allocations: 120.1 kB / 0.6037 GB, free: 15.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.5548, allocations: 23.98 kB / 0.6037 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007091/0.5555, allocations: 321.5 kB / 0.604 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.5559, allocations: 0.6929 MB / 0.6047 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004742/0.5563, allocations: 57.2 kB / 0.6048 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.5566, allocations: 43.38 kB / 0.6048 GB, free: 14.78 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5566, allocations: 4 kB / 0.6048 GB, free: 14.77 MB / 446.1 MB Notification: Performance of Templates: time 0.01063/0.5672, allocations: 5.87 MB / 0.6105 GB, free: 8.902 MB / 446.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/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