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.00165/0.00165, allocations: 88.39 kB / 21.44 MB, free: 276 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.002008/0.002008, allocations: 163.1 kB / 24.71 MB, free: 3.527 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.434/1.434, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.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: Performance of FrontEnd - loaded program: time 5.019e-06/5.019e-06, allocations: 4 kB / 299 MB, free: 8.664 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.047e-05/5.548e-05, allocations: 2.281 kB / 299 MB, free: 8.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.371/0.3711, allocations: 151.9 MB / 451 MB, free: 5.918 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004953/0.376, allocations: 3.506 MB / 454.5 MB, free: 2.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3762, allocations: 7.938 kB / 454.5 MB, free: 2.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007857/0.377, allocations: 214.7 kB / 454.7 MB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007047/0.3777, allocations: 385.6 kB / 455.1 MB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.3792, allocations: 0.5622 MB / 455.6 MB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.3805, allocations: 1.107 MB / 456.7 MB, free: 140 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.3807, allocations: 80.81 kB / 456.8 MB, free: 60 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003024/0.3837, allocations: 1.417 MB / 458.2 MB, free: 14.64 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.3842, allocations: 315.1 kB / 458.5 MB, free: 14.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.3844, allocations: 44 kB / 458.6 MB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009803/0.3853, allocations: 422.8 kB / 459 MB, free: 13.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002666/0.3856, allocations: 255.3 kB / 459.2 MB, free: 13.62 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.3859, allocations: 247.6 kB / 459.5 MB, free: 13.38 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.3875, allocations: 1.138 MB / 460.6 MB, free: 12.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3875, allocations: 4 kB / 460.6 MB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3875, allocations: 0 / 460.6 MB, free: 12.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.3876, allocations: 0 / 460.6 MB, free: 12.23 MB / 414.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.001713/0.3893, allocations: 0.7387 MB / 461.4 MB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.3893, allocations: 11.97 kB / 461.4 MB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007051/0.39, allocations: 123.6 kB / 461.5 MB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006296/0.3907, allocations: 315.9 kB / 461.8 MB, free: 11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/0.3907, allocations: 29 kB / 461.8 MB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-05/0.3908, allocations: 40 kB / 461.9 MB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.3923, allocations: 1.172 MB / 463 MB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.3923, allocations: 7.875 kB / 463 MB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.3924, allocations: 20 kB / 463.1 MB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3924, allocations: 11.94 kB / 463.1 MB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/0.3931, allocations: 442.4 kB / 463.5 MB, free: 9.121 MB / 414.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.003405/0.3965, allocations: 1.504 MB / 465 MB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.3967, allocations: 138.5 kB / 465.1 MB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.3969, allocations: 72.83 kB / 465.2 MB, free: 7.359 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.787e-05/0.3969, allocations: 4 kB / 465.2 MB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.017e-05/0.397, allocations: 42.55 kB / 465.3 MB, free: 7.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.573e-06/0.397, allocations: 0 / 465.3 MB, free: 7.305 MB / 414.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.006418/0.4034, allocations: 1.453 MB / 466.7 MB, free: 5.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.4035, allocations: 55.41 kB / 466.8 MB, free: 5.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005812/0.4041, allocations: 477.2 kB / 467.2 MB, free: 5.246 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.4041, allocations: 29.7 kB / 467.3 MB, free: 5.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/0.4044, allocations: 327.3 kB / 467.6 MB, free: 4.883 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.439e-05/0.4044, allocations: 91.22 kB / 467.7 MB, free: 4.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.4046, allocations: 126.2 kB / 467.8 MB, free: 4.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4048, allocations: 350.8 kB / 468.1 MB, free: 4.312 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.4051, allocations: 137.1 kB / 468.3 MB, free: 4.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.4056, allocations: 440.8 kB / 468.7 MB, free: 3.609 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00079/0.4064, allocations: 0.6091 MB / 469.3 MB, free: 2.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4064, allocations: 4 kB / 469.3 MB, free: 2.852 MB / 414.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001067/0.4075, allocations: 0.6322 MB / 469.9 MB, free: 2.207 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.4075, allocations: 11.94 kB / 470 MB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.4075, allocations: 12 kB / 470 MB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/0.4077, allocations: 57.58 kB / 470 MB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/0.4083, allocations: 143.8 kB / 470.2 MB, free: 1.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.4099, allocations: 1.82 MB / 472 MB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.4103, allocations: 20 kB / 472 MB, free: 16 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/0.4104, allocations: 36.05 kB / 472 MB, free: 15.98 MB / 430.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.000272/0.4106, allocations: 213.5 kB / 472.3 MB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.4107, allocations: 43.77 kB / 472.3 MB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.4113, allocations: 290.8 kB / 472.6 MB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4113, allocations: 0 / 472.6 MB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4113, allocations: 0 / 472.6 MB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005577/0.4118, allocations: 0.5282 MB / 473.1 MB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009542/0.4128, allocations: 0.5886 MB / 473.7 MB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4128, allocations: 8 kB / 473.7 MB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.4131, allocations: 55.91 kB / 473.8 MB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.653e-05/0.4132, allocations: 24.77 kB / 473.8 MB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.4132, allocations: 8 kB / 473.8 MB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.4143, allocations: 1.246 MB / 475 MB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4143, allocations: 4.156 kB / 475 MB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006533/0.4149, allocations: 423.9 kB / 475.5 MB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.415, allocations: 43.72 kB / 475.5 MB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.4151, allocations: 8 kB / 475.5 MB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002762/0.4153, allocations: 8 kB / 475.5 MB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.4154, allocations: 15.83 kB / 475.5 MB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4154, allocations: 19.98 kB / 475.5 MB, free: 12.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003798/0.4158, allocations: 311 kB / 475.8 MB, free: 11.89 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4158, allocations: 0 / 475.8 MB, free: 11.89 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009169/0.4167, allocations: 211.7 kB / 476.1 MB, free: 11.68 MB / 430.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.001331/0.418, allocations: 462.7 kB / 476.5 MB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008656/0.4189, allocations: 452.7 kB / 477 MB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4189, allocations: 0 / 477 MB, free: 10.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002922/0.4192, allocations: 198.6 kB / 477.1 MB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4203, allocations: 197.9 kB / 477.3 MB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4216, allocations: 0.7966 MB / 478.1 MB, free: 9.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.4219, allocations: 214.1 kB / 478.3 MB, free: 9.312 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.4223, allocations: 136.3 kB / 478.5 MB, free: 9.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.4224, allocations: 36.5 kB / 478.5 MB, free: 9.145 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4224, allocations: 0 / 478.5 MB, free: 9.145 MB / 430.1 MB Notification: Performance of Templates: time 0.1685/0.5908, allocations: 11.8 MB / 490.3 MB, free: 158.5 MB / 430.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.372480373829603]