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.001513/0.001512, allocations: 107.9 kB / 18.36 MB, free: 4.586 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.001641/0.001641, allocations: 188.5 kB / 19.3 MB, free: 3.66 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.408/1.408, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001293/0.001293, allocations: 51.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0942/0.0955, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3894/0.4849, allocations: 172.8 MB / 0.5357 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004009/0.489, allocations: 3.22 MB / 0.5389 GB, free: 15.08 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.4893, allocations: 7.938 kB / 0.5389 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006438/0.4899, allocations: 174.9 kB / 0.539 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.491, allocations: 401.4 kB / 0.5394 GB, free: 14.51 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.4919, allocations: 348.3 kB / 0.5397 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009484/0.4928, allocations: 0.8876 MB / 0.5406 GB, free: 13.28 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.4931, allocations: 108.6 kB / 0.5407 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.495, allocations: 0.7871 MB / 0.5415 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003394/0.4953, allocations: 270.9 kB / 0.5417 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.4954, allocations: 32 kB / 0.5418 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.4957, allocations: 119.9 kB / 0.5419 GB, free: 11.97 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.4958, allocations: 107.7 kB / 0.542 GB, free: 11.87 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001948/0.496, allocations: 183.3 kB / 0.5422 GB, free: 11.69 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.4966, allocations: 0.5156 MB / 0.5427 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4966, allocations: 0 / 0.5427 GB, free: 11.17 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4967, allocations: 0 / 0.5427 GB, free: 11.17 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.4967, allocations: 0 / 0.5427 GB, free: 11.17 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.0008033/0.4975, allocations: 0.5853 MB / 0.5432 GB, free: 10.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.4975, allocations: 19.89 kB / 0.5433 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000285/0.4978, allocations: 43.61 kB / 0.5433 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004403/0.4983, allocations: 286.4 kB / 0.5436 GB, free: 10.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4983, allocations: 20.56 kB / 0.5436 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.4983, allocations: 24 kB / 0.5436 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.4988, allocations: 322.4 kB / 0.5439 GB, free: 9.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.4989, allocations: 11.86 kB / 0.5439 GB, free: 9.762 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.4989, allocations: 16 kB / 0.5439 GB, free: 9.746 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4989, allocations: 4 kB / 0.544 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.4992, allocations: 209.5 kB / 0.5441 GB, free: 9.539 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.001678/0.5009, allocations: 1.581 MB / 0.5457 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.5012, allocations: 176 kB / 0.5459 GB, free: 7.629 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.5014, allocations: 96.77 kB / 0.546 GB, free: 7.531 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.292e-05/0.5014, allocations: 11.98 kB / 0.546 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5014, allocations: 38.5 kB / 0.546 GB, free: 7.473 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.5015, allocations: 0 / 0.546 GB, free: 7.473 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.005498/0.507, allocations: 1.61 MB / 0.5476 GB, free: 5.73 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.507, allocations: 59.41 kB / 0.5476 GB, free: 5.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.5073, allocations: 248.9 kB / 0.5479 GB, free: 5.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.5073, allocations: 33.7 kB / 0.5479 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.5075, allocations: 180.1 kB / 0.5481 GB, free: 5.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.876e-05/0.5075, allocations: 94.66 kB / 0.5482 GB, free: 5.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5076, allocations: 81.69 kB / 0.5482 GB, free: 5.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.5078, allocations: 330.8 kB / 0.5486 GB, free: 4.676 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5079, allocations: 95.89 kB / 0.5486 GB, free: 4.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/0.5081, allocations: 187.8 kB / 0.5488 GB, free: 4.355 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/0.5085, allocations: 308.2 kB / 0.5491 GB, free: 4.012 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5086, allocations: 0 / 0.5491 GB, free: 4.012 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006087/0.5092, allocations: 406.6 kB / 0.5495 GB, free: 3.602 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.5092, allocations: 8 kB / 0.5495 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.5092, allocations: 7.875 kB / 0.5495 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000214/0.5094, allocations: 69.67 kB / 0.5496 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.5098, allocations: 91.83 kB / 0.5497 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.5111, allocations: 1.951 MB / 0.5516 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.5113, allocations: 8 kB / 0.5516 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.5114, allocations: 39.98 kB / 0.5516 GB, free: 1.266 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.0001699/0.5116, allocations: 158.4 kB / 0.5518 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.5117, allocations: 23.72 kB / 0.5518 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.5125, allocations: 445.7 kB / 0.5522 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5125, allocations: 4 kB / 0.5522 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5125, allocations: 0 / 0.5522 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1871/0.6996, allocations: 0.5596 MB / 0.5528 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.7008, allocations: 0.7383 MB / 0.5535 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.7009, allocations: 3.031 kB / 0.5535 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.7012, allocations: 71.64 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.464e-05/0.7013, allocations: 22.17 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.7013, allocations: 14.69 kB / 0.5536 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006466/0.702, allocations: 1.378 MB / 0.555 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.702, allocations: 1.375 kB / 0.555 GB, free: 169 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.7026, allocations: 481.3 kB / 0.5554 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.7027, allocations: 99.8 kB / 0.5555 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.7027, allocations: 10.34 kB / 0.5555 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.703, allocations: 8.109 kB / 0.5555 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.703, allocations: 33.44 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.173e-05/0.7031, allocations: 27.08 kB / 0.5556 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.7032, allocations: 192.4 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7033, allocations: 1.031 kB / 0.5558 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007033/0.704, allocations: 124 kB / 0.5559 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.0003657/0.7043, allocations: 149.3 kB / 0.556 GB, free: 168.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000719/0.7051, allocations: 377.4 kB / 0.5564 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7051, allocations: 0.5625 kB / 0.5564 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.7054, allocations: 234.5 kB / 0.5566 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.001038/0.7064, allocations: 170.9 kB / 0.5568 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.7075, allocations: 0.7148 MB / 0.5575 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002034/0.7078, allocations: 0.7637 MB / 0.5582 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.708, allocations: 78.2 kB / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 5.01e-07/0.708, allocations: 0 / 0.5583 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.01218/0.7202, allocations: 7.502 MB / 0.5656 GB, free: 166.3 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