Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 213.5 kB / 24.47 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 55.92 kB / 347.7 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3168, allocations: 49.15 MB / 396.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2201/0.5369, allocations: 152 MB / 0.536 GB, free: 10.63 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005241/0.5421, allocations: 3.51 MB / 0.5394 GB, free: 7.109 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.5423, allocations: 4 kB / 0.5395 GB, free: 7.105 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008787/0.5432, allocations: 214.8 kB / 0.5397 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000805/0.544, allocations: 370 kB / 0.54 GB, free: 6.531 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.5457, allocations: 0.5606 MB / 0.5406 GB, free: 5.973 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.5471, allocations: 1.122 MB / 0.5417 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.5473, allocations: 72.88 kB / 0.5417 GB, free: 4.773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003068/0.5504, allocations: 1.281 MB / 0.543 GB, free: 3.492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.5509, allocations: 338.7 kB / 0.5433 GB, free: 3.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001033/0.551, allocations: 44 kB / 0.5433 GB, free: 3.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001114/0.5521, allocations: 415.1 kB / 0.5437 GB, free: 2.711 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.5523, allocations: 243.3 kB / 0.544 GB, free: 2.473 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003563/0.5527, allocations: 275.1 kB / 0.5442 GB, free: 2.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.5541, allocations: 1.085 MB / 0.5453 GB, free: 1.117 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.5541, allocations: 8 kB / 0.5453 GB, free: 1.109 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5542, allocations: 0 / 0.5453 GB, free: 1.109 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.5542, allocations: 0 / 0.5453 GB, free: 1.109 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001435/0.5556, allocations: 0.7387 MB / 0.546 GB, free: 348 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5556, allocations: 8.031 kB / 0.546 GB, free: 340 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.5563, allocations: 127.6 kB / 0.5461 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.557, allocations: 315.4 kB / 0.5464 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.557, allocations: 32.98 kB / 0.5465 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.5571, allocations: 36 kB / 0.5465 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5584, allocations: 1.176 MB / 0.5477 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.5584, allocations: 0 / 0.5477 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-05/0.5585, allocations: 20 kB / 0.5477 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.5585, allocations: 8 kB / 0.5477 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.5592, allocations: 446.3 kB / 0.5481 GB, free: 14 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.003424/0.5626, allocations: 1.486 MB / 0.5496 GB, free: 12.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.5629, allocations: 146.5 kB / 0.5497 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.563, allocations: 80.83 kB / 0.5498 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.563, allocations: 4 kB / 0.5498 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5631, allocations: 30.56 kB / 0.5498 GB, free: 12.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.5631, allocations: 0 / 0.5498 GB, free: 12.19 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=23): time 0.006123/0.5692, allocations: 1.466 MB / 0.5512 GB, free: 10.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.5692, allocations: 51.41 kB / 0.5513 GB, free: 10.57 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005497/0.5698, allocations: 473.2 kB / 0.5517 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.5698, allocations: 33.7 kB / 0.5518 GB, free: 10.06 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.5701, allocations: 335.2 kB / 0.5521 GB, free: 9.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.5701, allocations: 91.27 kB / 0.5522 GB, free: 9.641 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.5703, allocations: 122.2 kB / 0.5523 GB, free: 9.516 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5705, allocations: 354.8 kB / 0.5526 GB, free: 9.16 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.5707, allocations: 137.2 kB / 0.5528 GB, free: 9.027 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/0.5712, allocations: 436.5 kB / 0.5532 GB, free: 8.453 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.5719, allocations: 0.6013 MB / 0.5538 GB, free: 7.707 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/0.572, allocations: 8 kB / 0.5538 GB, free: 7.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001015/0.573, allocations: 0.6319 MB / 0.5544 GB, free: 7.055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.573, allocations: 12.22 kB / 0.5544 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.573, allocations: 12 kB / 0.5544 GB, free: 7.031 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.5732, allocations: 57.69 kB / 0.5545 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.5737, allocations: 139.8 kB / 0.5546 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.5753, allocations: 1.813 MB / 0.5564 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003897/0.5757, allocations: 24.06 kB / 0.5564 GB, free: 4.867 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/0.5757, allocations: 44 kB / 0.5564 GB, free: 4.824 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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.0002632/0.576, allocations: 197.6 kB / 0.5566 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.5761, allocations: 59.59 kB / 0.5567 GB, free: 4.562 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.5766, allocations: 286.7 kB / 0.557 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5767, allocations: 0 / 0.557 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.5767, allocations: 0 / 0.557 GB, free: 4.27 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005414/0.5772, allocations: 0.5278 MB / 0.5575 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009696/0.5782, allocations: 0.5968 MB / 0.5581 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5782, allocations: 4 kB / 0.5581 GB, free: 3.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.5784, allocations: 59.95 kB / 0.5581 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.319e-05/0.5785, allocations: 24.78 kB / 0.5581 GB, free: 2.926 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.5786, allocations: 11.94 kB / 0.5582 GB, free: 2.914 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.5796, allocations: 1.245 MB / 0.5594 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5796, allocations: 3.938 kB / 0.5594 GB, free: 1.566 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.5802, allocations: 436.1 kB / 0.5598 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.265e-05/0.5803, allocations: 35.73 kB / 0.5598 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.532e-05/0.5804, allocations: 8 kB / 0.5598 GB, free: 1.078 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.5806, allocations: 8 kB / 0.5598 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.5807, allocations: 19.95 kB / 0.5599 GB, free: 1.051 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.5807, allocations: 12 kB / 0.5599 GB, free: 1.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003557/0.5811, allocations: 311 kB / 0.5602 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5811, allocations: 0 / 0.5602 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008284/0.5819, allocations: 211.7 kB / 0.5604 GB, free: 0.5312 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (23): * Single equations (assignments): 22 * 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.00121/0.5831, allocations: 454.6 kB / 0.5608 GB, free: 80 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.2017/0.7848, allocations: 445.7 kB / 0.5612 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.7848, allocations: 0.5625 kB / 0.5612 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.7852, allocations: 203.2 kB / 0.5614 GB, free: 164.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.7865, allocations: 183 kB / 0.5616 GB, free: 164.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.788, allocations: 0.8745 MB / 0.5625 GB, free: 163.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.7883, allocations: 219.8 kB / 0.5627 GB, free: 163.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000463/0.7888, allocations: 129.3 kB / 0.5628 GB, free: 163.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.7889, allocations: 46.52 kB / 0.5628 GB, free: 163.8 MB / 478.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7889, allocations: 0 / 0.5628 GB, free: 163.8 MB / 478.1 MB Notification: Performance of Templates: time 0.02126/0.8101, allocations: 12.63 MB / 0.5752 GB, free: 159.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.710732776671648]