Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001485/0.001485, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001893/0.001893, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 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 1.433/1.433, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2297/0.2297, allocations: 46.88 MB / 361.1 MB, free: 4.617 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002277/0.002277, allocations: 80.05 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3123, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5119/0.8241, allocations: 181 MB / 0.7379 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008036/0.8322, allocations: 6.558 MB / 0.7443 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007067/0.8329, allocations: 21.06 kB / 0.7444 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.8339, allocations: 432.7 kB / 0.7448 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.8376, allocations: 1.784 MB / 0.7465 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.8408, allocations: 1.484 MB / 0.748 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002088/0.8429, allocations: 2.133 MB / 0.7501 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006002/0.8435, allocations: 484.8 kB / 0.7505 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.8466, allocations: 1.778 MB / 0.7523 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002286/0.8489, allocations: 1.563 MB / 0.7538 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.8491, allocations: 78.78 kB / 0.7539 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.8517, allocations: 1.364 MB / 0.7552 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.8521, allocations: 456.9 kB / 0.7556 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/0.8528, allocations: 0.554 MB / 0.7562 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.8557, allocations: 2.073 MB / 0.7582 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8557, allocations: 3.406 kB / 0.7582 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8557, allocations: 0 / 0.7582 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.8557, allocations: 0.9375 kB / 0.7582 GB, free: 1.469 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.003044/0.8588, allocations: 1.481 MB / 0.7596 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.8588, allocations: 11.34 kB / 0.7597 GB, free: 16.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.8602, allocations: 288.1 kB / 0.7599 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.8614, allocations: 0.6357 MB / 0.7605 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.8615, allocations: 116.8 kB / 0.7607 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.8616, allocations: 62.03 kB / 0.7607 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.8633, allocations: 1.268 MB / 0.762 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.8634, allocations: 6.516 kB / 0.762 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.8635, allocations: 38.19 kB / 0.762 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.759e-05/0.8636, allocations: 81.78 kB / 0.7621 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.865, allocations: 1.051 MB / 0.7631 GB, free: 16.1 MB / 0.5762 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.006978/0.872, allocations: 4.921 MB / 0.7679 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.8724, allocations: 294.5 kB / 0.7682 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.8726, allocations: 136.5 kB / 0.7683 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001177/0.8728, allocations: 98.44 kB / 0.7684 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.8728, allocations: 37.44 kB / 0.7684 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 3.246e-06/0.8728, allocations: 0.875 kB / 0.7684 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006456/0.8792, allocations: 1.842 MB / 0.7702 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.8794, allocations: 138.7 kB / 0.7704 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.8804, allocations: 0.9422 MB / 0.7713 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.266e-05/0.8805, allocations: 31.45 kB / 0.7713 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.8809, allocations: 0.5848 MB / 0.7719 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.881, allocations: 136.5 kB / 0.772 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002472/0.8812, allocations: 220.8 kB / 0.7722 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.8814, allocations: 401.2 kB / 0.7726 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.8818, allocations: 269.8 kB / 0.7729 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008778/0.8827, allocations: 0.8687 MB / 0.7737 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.8841, allocations: 1.174 MB / 0.7749 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.8841, allocations: 6.062 kB / 0.7749 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001772/0.8858, allocations: 1.245 MB / 0.7761 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.8859, allocations: 13.38 kB / 0.7761 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.8859, allocations: 20.53 kB / 0.7761 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001255/0.8871, allocations: 293.5 kB / 0.7764 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/0.8877, allocations: 206.2 kB / 0.7766 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.8888, allocations: 0.9174 MB / 0.7775 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.8896, allocations: 47.09 kB / 0.7775 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.298e-05/0.8897, allocations: 68.64 kB / 0.7776 GB, free: 9.262 MB / 0.5762 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.0004904/0.8902, allocations: 340.8 kB / 0.7779 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000157/0.8904, allocations: 99.69 kB / 0.778 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009653/0.8913, allocations: 0.5133 MB / 0.7785 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.8913, allocations: 11.16 kB / 0.7785 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8913, allocations: 0 / 0.7785 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003546/0.8917, allocations: 197.2 kB / 0.7787 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.8918, allocations: 7.938 kB / 0.7787 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.8922, allocations: 14.52 kB / 0.7788 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.556e-05/0.8923, allocations: 23.38 kB / 0.7788 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001327/0.8936, allocations: 0.5521 MB / 0.7793 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009075/0.8945, allocations: 0.7487 MB / 0.78 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002179/0.8947, allocations: 154.8 kB / 0.7802 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007365/0.8955, allocations: 0.621 MB / 0.7808 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of Backend: time 6.82e-07/0.8955, allocations: 0 / 0.7808 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00352/0.899, allocations: 1.271 MB / 0.782 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003593/0.9026, allocations: 2.374 MB / 0.7844 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of Templates: time 0.03948/0.9421, allocations: 24.39 MB / 0.8082 GB, free: 9.312 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.2031647907570004]