Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 113.2 kB / 17.73 MB, free: 5.34 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.001266/0.001266, allocations: 184.2 kB / 18.66 MB, free: 4.414 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.407/1.407, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.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.001133/0.001133, allocations: 55.92 kB / 328.6 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08298, allocations: 46.62 MB / 375.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3944/0.4774, allocations: 172.8 MB / 0.5351 GB, free: 2.332 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.4815, allocations: 3.217 MB / 0.5382 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001737/0.4817, allocations: 7.938 kB / 0.5383 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005606/0.4823, allocations: 174.9 kB / 0.5384 GB, free: 14.92 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007585/0.4831, allocations: 403.2 kB / 0.5388 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007727/0.4838, allocations: 351.3 kB / 0.5391 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000841/0.4847, allocations: 0.8915 MB / 0.54 GB, free: 13.29 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.4849, allocations: 100.7 kB / 0.5401 GB, free: 13.19 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.4865, allocations: 0.795 MB / 0.5409 GB, free: 12.4 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.4869, allocations: 270.9 kB / 0.5411 GB, free: 12.13 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.487, allocations: 28 kB / 0.5412 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002964/0.4873, allocations: 123.9 kB / 0.5413 GB, free: 11.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.4874, allocations: 99.72 kB / 0.5414 GB, free: 11.89 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.4876, allocations: 183.2 kB / 0.5416 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.4882, allocations: 0.518 MB / 0.5421 GB, free: 11.19 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4882, allocations: 4 kB / 0.5421 GB, free: 11.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4882, allocations: 0 / 0.5421 GB, free: 11.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4883, allocations: 0 / 0.5421 GB, free: 11.18 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000938/0.4892, allocations: 0.5853 MB / 0.5426 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.4892, allocations: 11.89 kB / 0.5426 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.4896, allocations: 47.61 kB / 0.5427 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.4901, allocations: 294.4 kB / 0.543 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.4901, allocations: 20.56 kB / 0.543 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.4902, allocations: 24 kB / 0.543 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005945/0.4908, allocations: 319.6 kB / 0.5433 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4908, allocations: 7.938 kB / 0.5433 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.4909, allocations: 12 kB / 0.5433 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4909, allocations: 4 kB / 0.5433 GB, free: 9.758 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003436/0.4912, allocations: 209.5 kB / 0.5435 GB, free: 9.555 MB / 478.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.001838/0.4931, allocations: 1.581 MB / 0.5451 GB, free: 7.824 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003141/0.4934, allocations: 175.9 kB / 0.5453 GB, free: 7.645 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.4936, allocations: 100.8 kB / 0.5454 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.4936, allocations: 7.984 kB / 0.5454 GB, free: 7.535 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.4937, allocations: 38.55 kB / 0.5454 GB, free: 7.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.4937, allocations: 0 / 0.5454 GB, free: 7.488 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005748/0.4994, allocations: 1.609 MB / 0.547 GB, free: 5.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.4995, allocations: 59.34 kB / 0.547 GB, free: 5.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.4998, allocations: 252.9 kB / 0.5473 GB, free: 5.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.4998, allocations: 33.7 kB / 0.5473 GB, free: 5.387 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.4999, allocations: 180.2 kB / 0.5475 GB, free: 5.203 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.973e-05/0.5, allocations: 94.64 kB / 0.5476 GB, free: 5.109 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.5001, allocations: 77.69 kB / 0.5476 GB, free: 5.027 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5003, allocations: 338.8 kB / 0.548 GB, free: 4.688 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.5005, allocations: 83.97 kB / 0.548 GB, free: 4.605 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.5007, allocations: 195.7 kB / 0.5482 GB, free: 4.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.5011, allocations: 300.2 kB / 0.5485 GB, free: 4.035 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5011, allocations: 4 kB / 0.5485 GB, free: 4.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000724/0.5019, allocations: 403 kB / 0.5489 GB, free: 3.625 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.5019, allocations: 12.03 kB / 0.5489 GB, free: 3.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.5019, allocations: 4 kB / 0.5489 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002345/0.5021, allocations: 73.56 kB / 0.549 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.5025, allocations: 83.89 kB / 0.5491 GB, free: 3.453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.5042, allocations: 1.95 MB / 0.551 GB, free: 1.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5044, allocations: 20.25 kB / 0.551 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.919e-05/0.5045, allocations: 35.98 kB / 0.551 GB, free: 1.285 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.5047, allocations: 158.4 kB / 0.5512 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.5048, allocations: 27.72 kB / 0.5512 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009073/0.5057, allocations: 441.8 kB / 0.5516 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.5057, allocations: 7.984 kB / 0.5516 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.5057, allocations: 0 / 0.5516 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2291/0.7348, allocations: 0.5609 MB / 0.5522 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.7361, allocations: 0.7304 MB / 0.5529 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7361, allocations: 2.406 kB / 0.5529 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003308/0.7365, allocations: 72.28 kB / 0.553 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.683e-05/0.7366, allocations: 23.28 kB / 0.553 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.7366, allocations: 12.72 kB / 0.553 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007665/0.7374, allocations: 1.378 MB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.7374, allocations: 4.562 kB / 0.5543 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.7381, allocations: 483.3 kB / 0.5548 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.613e-05/0.7382, allocations: 105.2 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.7383, allocations: 9.109 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.7385, allocations: 8.844 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.921e-05/0.7386, allocations: 24.28 kB / 0.5549 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.7386, allocations: 30.52 kB / 0.555 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.7388, allocations: 191.4 kB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7388, allocations: 2.406 kB / 0.5552 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006266/0.7395, allocations: 122.3 kB / 0.5553 GB, free: 168.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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): 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.0004024/0.7399, allocations: 152.7 kB / 0.5554 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.7406, allocations: 378 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7407, allocations: 0.6875 kB / 0.5558 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.741, allocations: 229.9 kB / 0.556 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000965/0.742, allocations: 168.1 kB / 0.5562 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.7433, allocations: 0.6858 MB / 0.5568 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.7437, allocations: 0.7668 MB / 0.5576 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004217/0.7441, allocations: 121.1 kB / 0.5577 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.7443, allocations: 67.36 kB / 0.5578 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 3e-07/0.7443, allocations: 0 / 0.5578 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01744/0.7617, allocations: 8.78 MB / 0.5663 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches