Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 104.2 kB / 18.9 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 192.4 kB / 22.06 MB, free: 268 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 207.6 MB / 232.6 MB, free: 11.06 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2677/0.2677, allocations: 44.24 MB / 328.9 MB, free: 10.12 MB / 270.1 MB [Timeout remaining time 89] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] 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.002187/0.002187, allocations: 71.88 kB / 465.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1374, allocations: 61.01 MB / 0.5146 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5454/0.6828, allocations: 183.8 MB / 0.6941 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0105/0.6933, allocations: 6.997 MB / 0.7009 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009206/0.6942, allocations: 19.88 kB / 0.701 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.6956, allocations: 437.6 kB / 0.7014 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.005605/0.7012, allocations: 2.04 MB / 0.7034 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004907/0.7061, allocations: 1.695 MB / 0.705 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.7092, allocations: 2.122 MB / 0.7071 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009117/0.7101, allocations: 489.3 kB / 0.7076 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004564/0.7147, allocations: 1.908 MB / 0.7094 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003098/0.7178, allocations: 1.53 MB / 0.7109 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.7181, allocations: 76 kB / 0.711 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003996/0.7221, allocations: 1.625 MB / 0.7126 GB, free: 9.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006057/0.7227, allocations: 458.7 kB / 0.713 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009704/0.7236, allocations: 0.5524 MB / 0.7136 GB, free: 8.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/0.7282, allocations: 2.192 MB / 0.7157 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7282, allocations: 0 / 0.7157 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.99e-06/0.7282, allocations: 7.938 kB / 0.7157 GB, free: 6.605 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.7282, allocations: 7.875 kB / 0.7157 GB, free: 6.598 MB / 0.545 GB 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.003308/0.7315, allocations: 1.444 MB / 0.7171 GB, free: 5.102 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.7316, allocations: 15.84 kB / 0.7171 GB, free: 5.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.733, allocations: 287.1 kB / 0.7174 GB, free: 4.805 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.7342, allocations: 0.633 MB / 0.718 GB, free: 4.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.7343, allocations: 124.6 kB / 0.7182 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000125/0.7344, allocations: 64 kB / 0.7182 GB, free: 3.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.7365, allocations: 1.26 MB / 0.7194 GB, free: 2.605 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.7365, allocations: 4 kB / 0.7195 GB, free: 2.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.7366, allocations: 31.98 kB / 0.7195 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/0.7367, allocations: 87.14 kB / 0.7196 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.7385, allocations: 1.055 MB / 0.7206 GB, free: 1.43 MB / 0.545 GB 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.008074/0.7466, allocations: 4.978 MB / 0.7255 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.7471, allocations: 300.2 kB / 0.7257 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.7474, allocations: 136.8 kB / 0.7259 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000178/0.7476, allocations: 135 kB / 0.726 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.7476, allocations: 42.55 kB / 0.726 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.334e-06/0.7476, allocations: 0 / 0.726 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006702/0.7543, allocations: 1.827 MB / 0.7278 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.7544, allocations: 136.5 kB / 0.728 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.7557, allocations: 0.9351 MB / 0.7289 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.7557, allocations: 33.7 kB / 0.7289 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.7562, allocations: 0.5808 MB / 0.7295 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.7563, allocations: 138.9 kB / 0.7296 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.7566, allocations: 218.8 kB / 0.7298 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.7568, allocations: 402.7 kB / 0.7302 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.7573, allocations: 282.4 kB / 0.7305 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.7583, allocations: 0.86 MB / 0.7313 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.7597, allocations: 1.176 MB / 0.7325 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.7597, allocations: 4 kB / 0.7325 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002067/0.7618, allocations: 1.236 MB / 0.7337 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.7618, allocations: 12 kB / 0.7337 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/0.7619, allocations: 20 kB / 0.7337 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.7632, allocations: 289.1 kB / 0.734 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.7638, allocations: 207.7 kB / 0.7342 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/0.7649, allocations: 0.9151 MB / 0.7351 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007592/0.7657, allocations: 44 kB / 0.7351 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/0.7658, allocations: 68 kB / 0.7352 GB, free: 1.402 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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.000501/0.7663, allocations: 353.2 kB / 0.7355 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.7664, allocations: 103.3 kB / 0.7356 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009466/0.7674, allocations: 469.8 kB / 0.7361 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7674, allocations: 4 kB / 0.7361 GB, free: 476 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.7674, allocations: 7.938 kB / 0.7361 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7674, allocations: 0 / 0.7361 GB, free: 468 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.7692, allocations: 1.129 MB / 0.7372 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7692, allocations: 0 / 0.7372 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7702, allocations: 183.8 kB / 0.7373 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-05/0.7703, allocations: 24.84 kB / 0.7374 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.7703, allocations: 11.98 kB / 0.7374 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.7727, allocations: 2.867 MB / 0.7402 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.7727, allocations: 7.969 kB / 0.7402 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.7738, allocations: 0.7007 MB / 0.7409 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.7742, allocations: 200.5 kB / 0.7411 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7743, allocations: 12 kB / 0.7411 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/0.7748, allocations: 19.98 kB / 0.7411 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.7749, allocations: 27.91 kB / 0.7411 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.7749, allocations: 15.98 kB / 0.7411 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009294/0.7758, allocations: 0.6282 MB / 0.7417 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7758, allocations: 4.062 kB / 0.7418 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00159/0.7774, allocations: 431.3 kB / 0.7422 GB, free: 9.82 MB / 0.5762 GB 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.001963/0.7794, allocations: 0.7469 MB / 0.7429 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.7808, allocations: 0.6507 MB / 0.7435 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7809, allocations: 3.938 kB / 0.7435 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008912/0.7817, allocations: 346.9 kB / 0.7439 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.7835, allocations: 446.6 kB / 0.7443 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.7863, allocations: 1.687 MB / 0.7459 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007554/0.7871, allocations: 1.04 MB / 0.7469 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.7873, allocations: 83.42 kB / 0.747 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.7873, allocations: 0 / 0.747 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of Templates: time 0.2936/1.081, allocations: 23.49 MB / 0.77 GB, free: 213.1 MB / 0.5919 GB [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches