Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_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.001272/0.001272, allocations: 96.14 kB / 15.87 MB, free: 16 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.001406/0.001405, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.557/1.557, allocations: 205.1 MB / 222.6 MB, free: 4.762 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.3295/0.3295, allocations: 43.5 MB / 313.5 MB, free: 8.504 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.002715/0.002715, allocations: 63.91 kB / 382 MB, free: 8.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1431, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.4073/0.5504, allocations: 178.2 MB / 0.6035 GB, free: 9.977 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009861/0.5603, allocations: 8.424 MB / 0.6117 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.5611, allocations: 23.81 kB / 0.6118 GB, free: 1.52 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008653/0.562, allocations: 274.5 kB / 0.612 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.5652, allocations: 1.311 MB / 0.6133 GB, free: 15.94 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00255/0.5678, allocations: 1.017 MB / 0.6143 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.5706, allocations: 2.713 MB / 0.6169 GB, free: 12.22 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006039/0.5712, allocations: 406.4 kB / 0.6173 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00271/0.5739, allocations: 1.111 MB / 0.6184 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009662/0.5749, allocations: 0.6812 MB / 0.6191 GB, free: 10.04 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.575, allocations: 36 kB / 0.6191 GB, free: 10 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.5768, allocations: 0.702 MB / 0.6198 GB, free: 9.297 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.577, allocations: 243.2 kB / 0.62 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.5774, allocations: 366.2 kB / 0.6204 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.579, allocations: 1.395 MB / 0.6217 GB, free: 7.301 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.579, allocations: 0 / 0.6217 GB, free: 7.301 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.579, allocations: 0 / 0.6217 GB, free: 7.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.5791, allocations: 0 / 0.6217 GB, free: 7.301 MB / 494.1 MB 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.002252/0.5813, allocations: 1.131 MB / 0.6228 GB, free: 6.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.5814, allocations: 8.031 kB / 0.6229 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007855/0.5822, allocations: 135.1 kB / 0.623 GB, free: 5.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.5828, allocations: 0.5118 MB / 0.6235 GB, free: 5.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/0.5829, allocations: 100.4 kB / 0.6236 GB, free: 5.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.583, allocations: 55.98 kB / 0.6236 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.5842, allocations: 0.8097 MB / 0.6244 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.5842, allocations: 7.922 kB / 0.6244 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.5843, allocations: 24 kB / 0.6245 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.5844, allocations: 40.98 kB / 0.6245 GB, free: 4.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009887/0.5854, allocations: 0.6166 MB / 0.6251 GB, free: 3.688 MB / 494.1 MB 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.211/0.7964, allocations: 3.982 MB / 0.629 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005803/0.797, allocations: 353.5 kB / 0.6293 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.7973, allocations: 169 kB / 0.6295 GB, free: 157.3 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003854/0.7977, allocations: 363.8 kB / 0.6298 GB, free: 157 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.7977, allocations: 37.28 kB / 0.6299 GB, free: 157 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.484e-06/0.7977, allocations: 0 / 0.6299 GB, free: 157 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005416/0.8032, allocations: 1.668 MB / 0.6315 GB, free: 156.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.8032, allocations: 142.9 kB / 0.6316 GB, free: 156.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007168/0.804, allocations: 0.6137 MB / 0.6322 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.804, allocations: 35.11 kB / 0.6323 GB, free: 156.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.8043, allocations: 367.9 kB / 0.6326 GB, free: 156 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.8045, allocations: 144.6 kB / 0.6328 GB, free: 155.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.8047, allocations: 154.7 kB / 0.6329 GB, free: 155.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.8048, allocations: 376.5 kB / 0.6333 GB, free: 155.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003243/0.8052, allocations: 206.2 kB / 0.6335 GB, free: 155.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005058/0.8057, allocations: 0.5086 MB / 0.634 GB, free: 155.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009054/0.8066, allocations: 0.7514 MB / 0.6347 GB, free: 154.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.8066, allocations: 5.938 kB / 0.6347 GB, free: 154.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001407/0.808, allocations: 0.8811 MB / 0.6356 GB, free: 154.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.8081, allocations: 8.406 kB / 0.6356 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.8081, allocations: 10.53 kB / 0.6356 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001384/0.8095, allocations: 314.8 kB / 0.6359 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.8099, allocations: 126.4 kB / 0.636 GB, free: 154.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009195/0.8108, allocations: 0.9336 MB / 0.6369 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005675/0.8114, allocations: 45.94 kB / 0.6369 GB, free: 153.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/0.8115, allocations: 66.14 kB / 0.637 GB, free: 153.8 MB / 494.1 MB 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.0003166/0.8118, allocations: 245 kB / 0.6372 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.8119, allocations: 72.19 kB / 0.6373 GB, free: 153.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001408/0.8133, allocations: 0.6806 MB / 0.638 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.8134, allocations: 6.812 kB / 0.638 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.8134, allocations: 0 / 0.638 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.8134, allocations: 2.812 kB / 0.638 GB, free: 153.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.8152, allocations: 1.61 MB / 0.6396 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8153, allocations: 2.781 kB / 0.6396 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/0.8162, allocations: 210.1 kB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-05/0.8163, allocations: 28 kB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.8164, allocations: 18.94 kB / 0.6398 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.8178, allocations: 2.69 MB / 0.6424 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.8179, allocations: 3.125 kB / 0.6424 GB, free: 149.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.8189, allocations: 0.8103 MB / 0.6432 GB, free: 149.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.8192, allocations: 190.5 kB / 0.6434 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.53e-05/0.8193, allocations: 10.28 kB / 0.6434 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004096/0.8197, allocations: 30.94 kB / 0.6434 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.737e-05/0.8198, allocations: 38.73 kB / 0.6435 GB, free: 149 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-05/0.8199, allocations: 43.59 kB / 0.6435 GB, free: 149 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005416/0.8204, allocations: 435.4 kB / 0.6439 GB, free: 148.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8204, allocations: 0 / 0.6439 GB, free: 148.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001122/0.8216, allocations: 298.2 kB / 0.6442 GB, free: 148.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009013/0.8225, allocations: 376.2 kB / 0.6446 GB, free: 148.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.8235, allocations: 0.5341 MB / 0.6451 GB, free: 148.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8236, allocations: 3.031 kB / 0.6451 GB, free: 148.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008968/0.8245, allocations: 410.9 kB / 0.6455 GB, free: 148.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.826, allocations: 353.5 kB / 0.6458 GB, free: 148.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.8281, allocations: 1.519 MB / 0.6473 GB, free: 147.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.8285, allocations: 0.9313 MB / 0.6482 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009637/0.8295, allocations: 269.6 kB / 0.6485 GB, free: 146.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.8298, allocations: 98.42 kB / 0.6486 GB, free: 146.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8298, allocations: 3.562 kB / 0.6486 GB, free: 146.6 MB / 494.1 MB Notification: Performance of Templates: time 0.03148/0.8613, allocations: 17.74 MB / 0.6659 GB, free: 144.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches