Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009438/0.0009438, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 165 kB / 24.91 MB, free: 9.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9854/0.9854, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2584/0.2584, allocations: 34.87 MB / 296.6 MB, free: 0.5195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.7e-05/2.85e-05, allocations: 2.312 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.3335/0.3336, allocations: 148.5 MB / 474.5 MB, free: 12.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.3376, allocations: 3.094 MB / 477.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005192/0.3381, allocations: 26.88 kB / 477.6 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005687/0.3387, allocations: 239.3 kB / 477.8 MB, free: 11.97 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002605/0.3413, allocations: 1.545 MB / 479.4 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.3428, allocations: 0.9458 MB / 480.3 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00196/0.3448, allocations: 2.216 MB / 482.5 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005763/0.3453, allocations: 0.5264 MB / 483 MB, free: 11.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003168/0.3485, allocations: 2.847 MB / 485.9 MB, free: 11.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007553/0.3493, allocations: 0.6399 MB / 486.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3494, allocations: 74.72 kB / 486.6 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.3505, allocations: 0.6526 MB / 487.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.3508, allocations: 486.9 kB / 487.7 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.3512, allocations: 407.1 kB / 488.1 MB, free: 11.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.3527, allocations: 1.469 MB / 489.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3527, allocations: 0 / 489.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3527, allocations: 0 / 489.6 MB, free: 11.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.3527, allocations: 0 / 489.6 MB, free: 11.02 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.001634/0.3544, allocations: 1.299 MB / 490.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.3544, allocations: 13.03 kB / 490.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008133/0.3552, allocations: 379.2 kB / 491.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.3558, allocations: 0.4887 MB / 491.8 MB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.709e-05/0.3559, allocations: 172.5 kB / 491.9 MB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.356, allocations: 79.53 kB / 492 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.3567, allocations: 1.444 MB / 493.5 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.3568, allocations: 0 / 493.5 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.3568, allocations: 30.69 kB / 493.5 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.3569, allocations: 85.17 kB / 493.6 MB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003892/0.3573, allocations: 330.7 kB / 493.9 MB, free: 8.355 MB / 410.7 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.002745/0.36, allocations: 3.118 MB / 497 MB, free: 6.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.3602, allocations: 138.2 kB / 497.2 MB, free: 6.199 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.337e-05/0.3603, allocations: 63.61 kB / 497.2 MB, free: 6.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.534e-05/0.3604, allocations: 40.61 kB / 497.3 MB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3604, allocations: 44.31 kB / 497.3 MB, free: 6.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.3604, allocations: 2.938 kB / 497.3 MB, free: 6.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.002832/0.3632, allocations: 1.137 MB / 498.4 MB, free: 5.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3633, allocations: 131.5 kB / 498.6 MB, free: 5.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.3637, allocations: 0.6922 MB / 499.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3637, allocations: 31.33 kB / 499.3 MB, free: 4.984 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3639, allocations: 0.5294 MB / 499.8 MB, free: 4.578 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.734e-05/0.364, allocations: 144.3 kB / 500 MB, free: 4.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.3641, allocations: 209.4 kB / 0.4884 GB, free: 4.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.3642, allocations: 395.8 kB / 0.4888 GB, free: 4.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-05/0.3643, allocations: 92.69 kB / 0.4889 GB, free: 4.066 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.3646, allocations: 0.7879 MB / 0.4897 GB, free: 3.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.365, allocations: 0.8835 MB / 0.4905 GB, free: 2.258 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.365, allocations: 5.688 kB / 0.4905 GB, free: 2.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0006899/0.3657, allocations: 0.7335 MB / 0.4913 GB, free: 1.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.3657, allocations: 13.47 kB / 0.4913 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.3658, allocations: 19.5 kB / 0.4913 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005333/0.3663, allocations: 232.9 kB / 0.4915 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002981/0.3666, allocations: 203.7 kB / 0.4917 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003576/0.3669, allocations: 0.6925 MB / 0.4924 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.3673, allocations: 41.78 kB / 0.4924 GB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.3674, allocations: 62.03 kB / 0.4925 GB, free: 1.266 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 93 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0001666/0.3675, allocations: 204.2 kB / 0.4927 GB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.3676, allocations: 61.88 kB / 0.4927 GB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.368, allocations: 333.4 kB / 0.4931 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.368, allocations: 2.438 kB / 0.4931 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.368, allocations: 0 / 0.4931 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.368, allocations: 7.984 kB / 0.4931 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.3686, allocations: 0.6544 MB / 0.4937 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3686, allocations: 0 / 0.4937 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003968/0.369, allocations: 146.1 kB / 0.4938 GB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.97e-05/0.3691, allocations: 25.34 kB / 0.4939 GB, free: 492 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.3691, allocations: 10.8 kB / 0.4939 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.3701, allocations: 2.416 MB / 0.4962 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3701, allocations: 0 / 0.4962 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.3705, allocations: 423.6 kB / 0.4966 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3706, allocations: 79.25 kB / 0.4967 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.838e-05/0.3707, allocations: 10.78 kB / 0.4967 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3709, allocations: 17.17 kB / 0.4967 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3709, allocations: 24.36 kB / 0.4968 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-05/0.3709, allocations: 18.86 kB / 0.4968 GB, free: 13.63 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002066/0.3711, allocations: 291.5 kB / 0.4971 GB, free: 13.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3711, allocations: 0 / 0.4971 GB, free: 13.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007672/0.3719, allocations: 354.6 kB / 0.4974 GB, free: 13.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0007645/0.3727, allocations: 469.5 kB / 0.4978 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005014/0.3732, allocations: 438 kB / 0.4983 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.387e-05/0.3732, allocations: 19.78 kB / 0.4983 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.3735, allocations: 273.5 kB / 0.4985 GB, free: 12.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.3743, allocations: 356.6 kB / 0.4989 GB, free: 12.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3759, allocations: 1.336 MB / 0.5002 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.376, allocations: 215.4 kB / 0.5004 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003926/0.3764, allocations: 227.4 kB / 0.5006 GB, free: 11.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.377, allocations: 359.1 kB / 0.501 GB, free: 11.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/0.377, allocations: 0 / 0.501 GB, free: 11.47 MB / 426.7 MB Notification: Performance of Templates: time 0.02067/0.3976, allocations: 20.22 MB / 0.5207 GB, free: 9.836 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.868908021133393]