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.001715/0.001715, allocations: 111.5 kB / 21.93 MB, free: 5.211 MB / 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.002051/0.002051, allocations: 214 kB / 25.23 MB, free: 3.027 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.462/1.462, allocations: 207.7 MB / 236.1 MB, free: 9.812 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.001981/0.001981, allocations: 51.92 kB / 348.5 MB, free: 9.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2775, allocations: 49.15 MB / 397.6 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.2182/0.4957, allocations: 152 MB / 0.5368 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004824/0.5005, allocations: 3.51 MB / 0.5402 GB, free: 7.145 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.5008, allocations: 7.938 kB / 0.5402 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008095/0.5016, allocations: 218.8 kB / 0.5404 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007889/0.5024, allocations: 366.1 kB / 0.5407 GB, free: 6.562 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.5039, allocations: 0.5491 MB / 0.5413 GB, free: 6.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.5051, allocations: 1.126 MB / 0.5424 GB, free: 4.887 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.5052, allocations: 76.88 kB / 0.5425 GB, free: 4.809 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002852/0.5081, allocations: 1.288 MB / 0.5437 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005901/0.5087, allocations: 330.8 kB / 0.544 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.5088, allocations: 44 kB / 0.5441 GB, free: 3.152 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001104/0.5099, allocations: 419 kB / 0.5445 GB, free: 2.742 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.5102, allocations: 243.4 kB / 0.5447 GB, free: 2.504 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.5105, allocations: 279 kB / 0.545 GB, free: 2.23 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.5119, allocations: 1.089 MB / 0.546 GB, free: 1.141 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5119, allocations: 3.938 kB / 0.546 GB, free: 1.137 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5119, allocations: 4 kB / 0.546 GB, free: 1.133 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.5119, allocations: 0 / 0.546 GB, free: 1.133 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.001408/0.5133, allocations: 0.7387 MB / 0.5468 GB, free: 372 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5134, allocations: 8.031 kB / 0.5468 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006338/0.514, allocations: 123.6 kB / 0.5469 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.5146, allocations: 315.6 kB / 0.5472 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.5147, allocations: 29 kB / 0.5472 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.065e-05/0.5147, allocations: 36 kB / 0.5472 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.516, allocations: 1.176 MB / 0.5484 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.516, allocations: 0 / 0.5484 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/0.516, allocations: 24 kB / 0.5484 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.5161, allocations: 8 kB / 0.5484 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.5167, allocations: 446.3 kB / 0.5489 GB, free: 14.02 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.003469/0.5202, allocations: 1.486 MB / 0.5503 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.5205, allocations: 142.6 kB / 0.5504 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.5206, allocations: 76.83 kB / 0.5505 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.5206, allocations: 7.922 kB / 0.5505 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5206, allocations: 38.56 kB / 0.5506 GB, free: 12.21 MB / 478.1 MB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/0.5206, allocations: 0 / 0.5506 GB, free: 12.21 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.006296/0.5269, allocations: 1.458 MB / 0.552 GB, free: 10.67 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.527, allocations: 51.41 kB / 0.552 GB, free: 10.61 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005681/0.5275, allocations: 473.2 kB / 0.5525 GB, free: 10.13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.5276, allocations: 33.7 kB / 0.5525 GB, free: 10.09 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5278, allocations: 335.2 kB / 0.5528 GB, free: 9.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.5279, allocations: 91.27 kB / 0.5529 GB, free: 9.672 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.5281, allocations: 122.2 kB / 0.553 GB, free: 9.547 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5282, allocations: 354.8 kB / 0.5534 GB, free: 9.191 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.5285, allocations: 137.2 kB / 0.5535 GB, free: 9.059 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.529, allocations: 436.5 kB / 0.5539 GB, free: 8.484 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007468/0.5297, allocations: 0.6051 MB / 0.5545 GB, free: 7.734 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.5297, allocations: 8 kB / 0.5545 GB, free: 7.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001088/0.5308, allocations: 0.636 MB / 0.5551 GB, free: 7.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5308, allocations: 12.03 kB / 0.5552 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.5308, allocations: 12 kB / 0.5552 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.531, allocations: 57.69 kB / 0.5552 GB, free: 6.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.5315, allocations: 139.8 kB / 0.5554 GB, free: 6.855 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.5331, allocations: 1.813 MB / 0.5571 GB, free: 4.914 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.5335, allocations: 24 kB / 0.5571 GB, free: 4.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.562e-05/0.5335, allocations: 36 kB / 0.5572 GB, free: 4.855 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.0002591/0.5338, allocations: 209.6 kB / 0.5574 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.5339, allocations: 51.66 kB / 0.5574 GB, free: 4.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000576/0.5345, allocations: 286.9 kB / 0.5577 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5345, allocations: 0 / 0.5577 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.5345, allocations: 0 / 0.5577 GB, free: 4.297 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005471/0.535, allocations: 0.5277 MB / 0.5582 GB, free: 3.68 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.536, allocations: 0.593 MB / 0.5588 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.536, allocations: 0 / 0.5588 GB, free: 3.047 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.5363, allocations: 63.89 kB / 0.5589 GB, free: 2.984 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.229e-05/0.5364, allocations: 20.84 kB / 0.5589 GB, free: 2.961 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.5364, allocations: 11.94 kB / 0.5589 GB, free: 2.949 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009912/0.5374, allocations: 1.248 MB / 0.5601 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5374, allocations: 0 / 0.5601 GB, free: 1.602 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/0.538, allocations: 440 kB / 0.5605 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.5381, allocations: 35.78 kB / 0.5606 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.901e-05/0.5382, allocations: 8 kB / 0.5606 GB, free: 1.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.5384, allocations: 8 kB / 0.5606 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.5385, allocations: 11.97 kB / 0.5606 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.5385, allocations: 19.98 kB / 0.5606 GB, free: 1.07 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003709/0.5389, allocations: 315 kB / 0.5609 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5389, allocations: 0 / 0.5609 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.5397, allocations: 203.8 kB / 0.5611 GB, free: 0.5664 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.001221/0.5409, allocations: 458.6 kB / 0.5615 GB, free: 112 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.1783/0.7192, allocations: 443.9 kB / 0.562 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.7192, allocations: 1.094 kB / 0.562 GB, free: 164.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.7195, allocations: 202.4 kB / 0.5622 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.001185/0.7207, allocations: 181.9 kB / 0.5623 GB, free: 164.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.7223, allocations: 0.9111 MB / 0.5632 GB, free: 163.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.7225, allocations: 217.6 kB / 0.5634 GB, free: 163.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.7227, allocations: 48.17 kB / 0.5635 GB, free: 163.8 MB / 478.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7227, allocations: 1.188 kB / 0.5635 GB, free: 163.8 MB / 478.1 MB Notification: Performance of Templates: time 0.01719/0.7399, allocations: 12.14 MB / 0.5753 GB, free: 159.4 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/jenkins1/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/jenkins1/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: 9.853605688083917]