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.001157/0.001157, allocations: 93.58 kB / 16.94 MB, free: 5.98 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.001361/0.001361, allocations: 184.7 kB / 17.82 MB, free: 5.652 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.47/1.47, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004805/0.0004803, allocations: 12 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1052, allocations: 47.58 MB / 328.3 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.3837/0.489, allocations: 137.3 MB / 465.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.4921, allocations: 1.948 MB / 467.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.4924, allocations: 4 kB / 467.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006112/0.493, allocations: 135.4 kB / 467.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007547/0.4938, allocations: 275.1 kB / 468 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008761/0.4947, allocations: 272.4 kB / 468.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006149/0.4953, allocations: 490.9 kB / 468.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.4955, allocations: 73.17 kB / 468.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.4966, allocations: 434.9 kB / 469.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.4969, allocations: 175.3 kB / 469.4 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.159e-05/0.4969, allocations: 16 kB / 469.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.4972, allocations: 103.9 kB / 469.5 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.4974, allocations: 75.72 kB / 469.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.4975, allocations: 89.58 kB / 469.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.498, allocations: 393.5 kB / 470 MB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.498, allocations: 0 / 470 MB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4981, allocations: 4 kB / 470 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.4981, allocations: 4 kB / 470 MB, free: 11.04 MB / 366.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.0009648/0.499, allocations: 0.5151 MB / 470.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.4991, allocations: 8.031 kB / 470.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.4994, allocations: 47.61 kB / 470.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004231/0.4999, allocations: 266.6 kB / 470.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4999, allocations: 24.56 kB / 470.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.5, allocations: 31.84 kB / 470.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005539/0.5005, allocations: 311.7 kB / 471.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5006, allocations: 0 / 471.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.5006, allocations: 12 kB / 471.2 MB, free: 9.723 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5006, allocations: 11.95 kB / 471.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.501, allocations: 201.6 kB / 471.5 MB, free: 9.516 MB / 366.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.002212/0.5032, allocations: 1.577 MB / 473 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.5035, allocations: 174.7 kB / 473.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.5036, allocations: 4 kB / 473.2 MB, free: 7.605 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.5036, allocations: 38.56 kB / 473.2 MB, free: 7.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.735e-06/0.5036, allocations: 0 / 473.2 MB, free: 7.559 MB / 366.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.005787/0.5094, allocations: 1.636 MB / 474.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.5095, allocations: 59.41 kB / 474.9 MB, free: 5.723 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002822/0.5098, allocations: 252.8 kB / 475.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.5098, allocations: 29.7 kB / 475.2 MB, free: 5.434 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.51, allocations: 168.3 kB / 475.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.313e-05/0.51, allocations: 110.5 kB / 475.5 MB, free: 5.152 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.5101, allocations: 8 kB / 475.5 MB, free: 5.145 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5102, allocations: 334.8 kB / 475.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.5104, allocations: 91.73 kB / 475.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.5107, allocations: 187.7 kB / 476.1 MB, free: 4.492 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.5109, allocations: 116 kB / 476.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5109, allocations: 0 / 476.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006461/0.5115, allocations: 399 kB / 476.6 MB, free: 3.977 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.5116, allocations: 4 kB / 476.6 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5116, allocations: 4 kB / 476.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002417/0.5118, allocations: 73.64 kB / 476.7 MB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.5122, allocations: 87.83 kB / 476.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.5143, allocations: 1.852 MB / 478.6 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.5146, allocations: 28.23 kB / 478.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.5147, allocations: 40 kB / 478.7 MB, free: 1.73 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002552/0.5149, allocations: 161.6 kB / 478.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.515, allocations: 27.72 kB / 478.9 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000968/0.516, allocations: 438.5 kB / 479.3 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.516, allocations: 4 kB / 479.3 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.516, allocations: 0 / 479.3 MB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005621/0.5166, allocations: 0.5629 MB / 479.9 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5177, allocations: 0.7193 MB / 480.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5177, allocations: 11.88 kB / 480.6 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.518, allocations: 67.91 kB / 480.7 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.602e-05/0.5181, allocations: 32.77 kB / 480.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.5182, allocations: 15.98 kB / 480.7 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.5195, allocations: 1.284 MB / 482 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5195, allocations: 0 / 482 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008761/0.5204, allocations: 0.4942 MB / 482.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.5205, allocations: 104.8 kB / 482.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.795e-05/0.5205, allocations: 7.938 kB / 482.6 MB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/0.5208, allocations: 20.05 kB / 482.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.5209, allocations: 27.92 kB / 482.6 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.5209, allocations: 31.98 kB / 482.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.5211, allocations: 190 kB / 482.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5211, allocations: 0 / 482.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005482/0.5217, allocations: 120 kB / 483 MB, free: 13.06 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003631/0.522, allocations: 151.1 kB / 483.1 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.5227, allocations: 363.2 kB / 483.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5227, allocations: 3.938 kB / 483.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.523, allocations: 234.5 kB / 483.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.5239, allocations: 158.8 kB / 483.9 MB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.5252, allocations: 0.8384 MB / 484.7 MB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.5255, allocations: 0.7762 MB / 485.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.5261, allocations: 106.9 kB / 485.6 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.5263, allocations: 67.42 kB / 485.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5263, allocations: 0 / 485.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of Templates: time 0.01438/0.5407, allocations: 8.249 MB / 493.9 MB, free: 2.055 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../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