Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,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.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 106.6 kB / 18.4 MB, free: 4.66 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.00167/0.00167, allocations: 190.1 kB / 19.34 MB, free: 3.734 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.259/1.259, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001178/0.001178, allocations: 47.94 kB / 329.3 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07188/0.07307, allocations: 46.62 MB / 375.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3072/0.3803, allocations: 172.7 MB / 0.5358 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.3839, allocations: 3.22 MB / 0.5389 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.3841, allocations: 4 kB / 0.5389 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.3846, allocations: 178.9 kB / 0.5391 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.3853, allocations: 403.2 kB / 0.5395 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007143/0.386, allocations: 348.9 kB / 0.5398 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000788/0.3868, allocations: 0.8837 MB / 0.5407 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.387, allocations: 112.6 kB / 0.5408 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.3884, allocations: 0.7913 MB / 0.5415 GB, free: 12.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.3887, allocations: 270.9 kB / 0.5418 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/0.3887, allocations: 32 kB / 0.5418 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.389, allocations: 123.9 kB / 0.542 GB, free: 11.96 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.3892, allocations: 95.72 kB / 0.542 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002007/0.3894, allocations: 191.2 kB / 0.5422 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000513/0.3899, allocations: 0.5063 MB / 0.5427 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3899, allocations: 8 kB / 0.5427 GB, free: 11.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.3899, allocations: 3.984 kB / 0.5427 GB, free: 11.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3899, allocations: 0 / 0.5427 GB, free: 11.16 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.0007658/0.3907, allocations: 0.5853 MB / 0.5433 GB, free: 10.52 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3907, allocations: 11.89 kB / 0.5433 GB, free: 10.51 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002674/0.391, allocations: 44.23 kB / 0.5434 GB, free: 10.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.3914, allocations: 294.4 kB / 0.5436 GB, free: 10.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3914, allocations: 20.56 kB / 0.5437 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.3915, allocations: 24 kB / 0.5437 GB, free: 10.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004906/0.392, allocations: 323.6 kB / 0.544 GB, free: 9.754 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.392, allocations: 3.938 kB / 0.544 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.392, allocations: 12 kB / 0.544 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.392, allocations: 9 kB / 0.544 GB, free: 9.73 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000322/0.3924, allocations: 205.5 kB / 0.5442 GB, free: 9.531 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.001682/0.3941, allocations: 1.585 MB / 0.5458 GB, free: 7.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.3944, allocations: 171.1 kB / 0.5459 GB, free: 7.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3945, allocations: 104.7 kB / 0.546 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.3946, allocations: 4 kB / 0.546 GB, free: 7.512 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3946, allocations: 34.56 kB / 0.5461 GB, free: 7.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.3946, allocations: 4 kB / 0.5461 GB, free: 7.465 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.005339/0.3999, allocations: 1.608 MB / 0.5476 GB, free: 5.727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4, allocations: 59.41 kB / 0.5477 GB, free: 5.656 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.4002, allocations: 244.9 kB / 0.5479 GB, free: 5.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.4003, allocations: 45.62 kB / 0.548 GB, free: 5.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4004, allocations: 176.2 kB / 0.5481 GB, free: 5.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.787e-05/0.4005, allocations: 94.66 kB / 0.5482 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.4006, allocations: 81.69 kB / 0.5483 GB, free: 5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.4007, allocations: 334.8 kB / 0.5486 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4009, allocations: 87.97 kB / 0.5487 GB, free: 4.578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4011, allocations: 191.7 kB / 0.5489 GB, free: 4.348 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.4015, allocations: 304.3 kB / 0.5492 GB, free: 4.008 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4015, allocations: 3.938 kB / 0.5492 GB, free: 4.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006411/0.4022, allocations: 403 kB / 0.5496 GB, free: 3.598 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4022, allocations: 11.98 kB / 0.5496 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4022, allocations: 4 kB / 0.5496 GB, free: 3.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/0.4024, allocations: 65.69 kB / 0.5496 GB, free: 3.512 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/0.4028, allocations: 91.88 kB / 0.5497 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4041, allocations: 1.951 MB / 0.5516 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.4043, allocations: 12.06 kB / 0.5516 GB, free: 1.297 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4044, allocations: 39.98 kB / 0.5517 GB, free: 1.258 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.0001504/0.4046, allocations: 158.4 kB / 0.5518 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.4046, allocations: 23.72 kB / 0.5519 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008354/0.4055, allocations: 456.1 kB / 0.5523 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.143/0.5485, allocations: 0.5486 MB / 0.5528 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.5485, allocations: 5.766 kB / 0.5528 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.5486, allocations: 99.08 kB / 0.5529 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.5487, allocations: 5.375 kB / 0.5529 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.5489, allocations: 11.81 kB / 0.5529 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.549, allocations: 25.69 kB / 0.553 GB, free: 170.5 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007203/0.5497, allocations: 369.4 kB / 0.5533 GB, free: 170.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005254/0.5502, allocations: 0.5172 MB / 0.5538 GB, free: 170.2 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001376/0.5504, allocations: 101.3 kB / 0.5539 GB, free: 170.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.5506, allocations: 189.2 kB / 0.5541 GB, free: 170.1 MB / 478.1 MB Notification: Performance of Backend: time 3.31e-07/0.5506, allocations: 0 / 0.5541 GB, free: 170.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.5516, allocations: 428.8 kB / 0.5545 GB, free: 169.9 MB / 478.1 MB Notification: Performance of SimCode: time 0.001352/0.5529, allocations: 1.174 MB / 0.5557 GB, free: 169.2 MB / 478.1 MB Notification: Performance of Templates: time 0.01266/0.5656, allocations: 8.724 MB / 0.5642 GB, free: 167.8 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches