Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.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.001374/0.001374, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001474/0.001474, allocations: 209.3 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 46.97 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 63.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3002, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.1935/0.4936, allocations: 156.5 MB / 0.7147 GB, free: 7.102 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.5025, allocations: 5.978 MB / 0.7205 GB, free: 1.102 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005579/0.503, allocations: 27.75 kB / 0.7205 GB, free: 1.074 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.5041, allocations: 393.7 kB / 0.7209 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.5085, allocations: 1.795 MB / 0.7227 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.5126, allocations: 1.515 MB / 0.7241 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.5154, allocations: 2.137 MB / 0.7262 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/0.5162, allocations: 493.3 kB / 0.7267 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.5203, allocations: 1.791 MB / 0.7285 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.5231, allocations: 1.554 MB / 0.73 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.5233, allocations: 76 kB / 0.73 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.5258, allocations: 1.168 MB / 0.7312 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.5263, allocations: 454.7 kB / 0.7316 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005757/0.5268, allocations: 478.1 kB / 0.7321 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.5296, allocations: 2.076 MB / 0.7341 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5296, allocations: 3.984 kB / 0.7341 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5296, allocations: 0 / 0.7341 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.5296, allocations: 0 / 0.7341 GB, free: 3.152 MB / 0.5606 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.003063/0.5326, allocations: 1.395 MB / 0.7355 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5327, allocations: 12.03 kB / 0.7355 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.5342, allocations: 283.1 kB / 0.7357 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.5354, allocations: 0.5907 MB / 0.7363 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001542/0.5356, allocations: 164.1 kB / 0.7365 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.5357, allocations: 67.98 kB / 0.7365 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2528/0.7885, allocations: 1.963 MB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.7885, allocations: 4.234 kB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.7886, allocations: 34.41 kB / 0.7385 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.7888, allocations: 80.27 kB / 0.7386 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.7909, allocations: 1.053 MB / 0.7396 GB, free: 174.5 MB / 0.5606 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.005942/0.7968, allocations: 3.862 MB / 0.7434 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.7973, allocations: 305 kB / 0.7437 GB, free: 172 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002073/0.7975, allocations: 132.9 kB / 0.7438 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.155e-05/0.7976, allocations: 26.84 kB / 0.7438 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.7976, allocations: 39.41 kB / 0.7439 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.745e-06/0.7976, allocations: 0 / 0.7439 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006095/0.8037, allocations: 1.742 MB / 0.7456 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.8038, allocations: 132.5 kB / 0.7457 GB, free: 170.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006945/0.8045, allocations: 0.8407 MB / 0.7465 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.557e-05/0.8045, allocations: 33.7 kB / 0.7465 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.8047, allocations: 0.5913 MB / 0.7471 GB, free: 169 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.372e-05/0.8048, allocations: 142.7 kB / 0.7472 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.805, allocations: 222.8 kB / 0.7475 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.446e-05/0.8051, allocations: 392.4 kB / 0.7478 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.8055, allocations: 270.5 kB / 0.7481 GB, free: 168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/0.806, allocations: 0.9466 MB / 0.749 GB, free: 166.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008741/0.8069, allocations: 1.172 MB / 0.7502 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.8069, allocations: 8 kB / 0.7502 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001505/0.8084, allocations: 1.224 MB / 0.7514 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8084, allocations: 12 kB / 0.7514 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8084, allocations: 20 kB / 0.7514 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.8097, allocations: 287.5 kB / 0.7517 GB, free: 163.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.8103, allocations: 207.6 kB / 0.7519 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008203/0.8111, allocations: 0.9175 MB / 0.7528 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000695/0.8118, allocations: 47.98 kB / 0.7528 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/0.8118, allocations: 71.25 kB / 0.7529 GB, free: 162.6 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.0003531/0.8122, allocations: 338.9 kB / 0.7532 GB, free: 162.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.8123, allocations: 87.47 kB / 0.7533 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009155/0.8132, allocations: 0.5057 MB / 0.7538 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.8132, allocations: 7.922 kB / 0.7538 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.8132, allocations: 0 / 0.7538 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.8135, allocations: 107.4 kB / 0.7539 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.8136, allocations: 8 kB / 0.7539 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.814, allocations: 23.92 kB / 0.7539 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.8141, allocations: 19.95 kB / 0.7539 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001288/0.8154, allocations: 0.5525 MB / 0.7545 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007581/0.8161, allocations: 0.7212 MB / 0.7552 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001962/0.8163, allocations: 156.3 kB / 0.7553 GB, free: 160 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004904/0.8168, allocations: 0.5302 MB / 0.7558 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.8168, allocations: 0 / 0.7558 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00293/0.8197, allocations: 1.258 MB / 0.7571 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002617/0.8223, allocations: 2.257 MB / 0.7593 GB, free: 156 MB / 0.5606 GB Notification: Performance of Templates: time 0.02824/0.8506, allocations: 23.47 MB / 0.7822 GB, free: 132.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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 [Calling sys.exit(0), Time elapsed: 6.485368647998257]