Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 110.5 kB / 18.46 MB, free: 4.613 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.001202/0.001202, allocations: 183.4 kB / 19.38 MB, free: 3.695 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.353/1.353, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3701, allocations: 60.82 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.1911/0.5612, allocations: 174.4 MB / 0.6899 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.5688, allocations: 5.327 MB / 0.6951 GB, free: 7.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.5695, allocations: 19.88 kB / 0.6951 GB, free: 7.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.5708, allocations: 314 kB / 0.6954 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004809/0.5756, allocations: 1.26 MB / 0.6966 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002679/0.5783, allocations: 0.9696 MB / 0.6976 GB, free: 5.316 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.5806, allocations: 1.856 MB / 0.6994 GB, free: 3.453 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008129/0.5814, allocations: 465.3 kB / 0.6998 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002167/0.5836, allocations: 1.086 MB / 0.7009 GB, free: 1.906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.5847, allocations: 0.6462 MB / 0.7015 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.585, allocations: 60 kB / 0.7016 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.5863, allocations: 0.6317 MB / 0.7022 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.5866, allocations: 267.2 kB / 0.7024 GB, free: 316 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.5872, allocations: 398.2 kB / 0.7028 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002055/0.5892, allocations: 1.308 MB / 0.7041 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5893, allocations: 0 / 0.7041 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5893, allocations: 0 / 0.7041 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.5893, allocations: 0 / 0.7041 GB, free: 14.61 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002548/0.5919, allocations: 1.124 MB / 0.7052 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.5919, allocations: 8.031 kB / 0.7052 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009036/0.5928, allocations: 139.5 kB / 0.7053 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.5938, allocations: 0.5395 MB / 0.7059 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.5939, allocations: 104.4 kB / 0.706 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.594, allocations: 48 kB / 0.706 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.5953, allocations: 0.8097 MB / 0.7068 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.5953, allocations: 11.92 kB / 0.7068 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.373e-05/0.5954, allocations: 27.98 kB / 0.7068 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.5955, allocations: 36.92 kB / 0.7069 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.5965, allocations: 0.6205 MB / 0.7075 GB, free: 10.96 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004442/0.601, allocations: 3.962 MB / 0.7114 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.6016, allocations: 367.6 kB / 0.7117 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.6019, allocations: 165.3 kB / 0.7119 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.602, allocations: 89.38 kB / 0.7119 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.602, allocations: 38.84 kB / 0.712 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.174e-06/0.602, allocations: 0 / 0.712 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00577/0.6078, allocations: 1.681 MB / 0.7136 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.167e-05/0.6079, allocations: 136.5 kB / 0.7138 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.6087, allocations: 0.6133 MB / 0.7144 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.6087, allocations: 33.7 kB / 0.7144 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.609, allocations: 367.9 kB / 0.7147 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.6092, allocations: 154.7 kB / 0.7149 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.6094, allocations: 162.6 kB / 0.715 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.6096, allocations: 374.8 kB / 0.7154 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.61, allocations: 205.9 kB / 0.7156 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.6106, allocations: 0.5124 MB / 0.7161 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.6116, allocations: 0.7514 MB / 0.7168 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6116, allocations: 4 kB / 0.7168 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.2569/0.8686, allocations: 0.8837 MB / 0.7177 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.8686, allocations: 9.094 kB / 0.7177 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.8687, allocations: 10.22 kB / 0.7177 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/0.8703, allocations: 314.1 kB / 0.718 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005091/0.8708, allocations: 126.8 kB / 0.7181 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.8719, allocations: 0.9277 MB / 0.719 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006229/0.8725, allocations: 32.22 kB / 0.7191 GB, free: 189.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.8727, allocations: 66.19 kB / 0.7191 GB, free: 189.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003697/0.873, allocations: 255.7 kB / 0.7194 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.8732, allocations: 70.36 kB / 0.7194 GB, free: 189.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.8748, allocations: 0.8604 MB / 0.7203 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8749, allocations: 2.156 kB / 0.7203 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8749, allocations: 1.375 kB / 0.7203 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/0.8751, allocations: 192.9 kB / 0.7205 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8752, allocations: 9.844 kB / 0.7205 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003526/0.8756, allocations: 19.03 kB / 0.7205 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.8757, allocations: 30.7 kB / 0.7205 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001616/0.8773, allocations: 0.6276 MB / 0.7211 GB, free: 188.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001086/0.8784, allocations: 0.8242 MB / 0.7219 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002943/0.8787, allocations: 190.2 kB / 0.7221 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005152/0.8793, allocations: 433.8 kB / 0.7225 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of Backend: time 4.71e-07/0.8793, allocations: 0 / 0.7225 GB, free: 188.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002418/0.8817, allocations: 0.7594 MB / 0.7233 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002869/0.8846, allocations: 1.938 MB / 0.7252 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02673/0.9113, allocations: 18.43 MB / 0.7432 GB, free: 175.7 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches