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.002082/0.002082, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.002444/0.002444, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.431/1.431, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2163/0.2163, allocations: 46.94 MB / 361.6 MB, free: 4.242 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.002132/0.002132, allocations: 67.91 kB / 0.4974 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.2985, allocations: 66.02 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4976/0.7962, allocations: 181 MB / 0.7386 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007635/0.8038, allocations: 6.555 MB / 0.745 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.8046, allocations: 26.78 kB / 0.7451 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.8058, allocations: 439.6 kB / 0.7455 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.8098, allocations: 1.804 MB / 0.7472 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.8132, allocations: 1.534 MB / 0.7487 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002288/0.8155, allocations: 2.136 MB / 0.7508 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.8161, allocations: 479.7 kB / 0.7513 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.8195, allocations: 1.799 MB / 0.753 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.8219, allocations: 1.572 MB / 0.7546 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/0.8221, allocations: 74.91 kB / 0.7546 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00261/0.8248, allocations: 1.371 MB / 0.756 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.8252, allocations: 460.4 kB / 0.7564 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007071/0.8259, allocations: 0.5538 MB / 0.757 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/0.8288, allocations: 2.075 MB / 0.759 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.8288, allocations: 4.359 kB / 0.759 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8288, allocations: 0 / 0.759 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.8288, allocations: 1.062 kB / 0.759 GB, free: 1.461 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.002876/0.8317, allocations: 1.402 MB / 0.7604 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.8317, allocations: 7.969 kB / 0.7604 GB, free: 16.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.833, allocations: 293.2 kB / 0.7606 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.8341, allocations: 0.5742 MB / 0.7612 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.8342, allocations: 163.2 kB / 0.7614 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.8343, allocations: 62.41 kB / 0.7614 GB, free: 16.42 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.8358, allocations: 1.27 MB / 0.7627 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.8359, allocations: 3.812 kB / 0.7627 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.805e-05/0.836, allocations: 36.86 kB / 0.7627 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.86e-05/0.836, allocations: 84.02 kB / 0.7628 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.8374, allocations: 1.052 MB / 0.7638 GB, free: 16.19 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.005941/0.8433, allocations: 4.635 MB / 0.7683 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.8437, allocations: 301.3 kB / 0.7686 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/0.8439, allocations: 140.2 kB / 0.7688 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.844, allocations: 24.28 kB / 0.7688 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.844, allocations: 37.62 kB / 0.7688 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.625e-06/0.844, allocations: 0.9688 kB / 0.7688 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005993/0.85, allocations: 1.775 MB / 0.7706 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.8501, allocations: 131.1 kB / 0.7707 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.8511, allocations: 0.9379 MB / 0.7716 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.8511, allocations: 35.39 kB / 0.7716 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/0.8515, allocations: 0.5854 MB / 0.7722 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.8516, allocations: 140 kB / 0.7723 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.8518, allocations: 221 kB / 0.7725 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.852, allocations: 400 kB / 0.7729 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.8524, allocations: 278.2 kB / 0.7732 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/0.8532, allocations: 0.8655 MB / 0.774 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.8544, allocations: 1.179 MB / 0.7752 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.986e-06/0.8545, allocations: 5.281 kB / 0.7752 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001678/0.8561, allocations: 1.239 MB / 0.7764 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.8562, allocations: 16.09 kB / 0.7764 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.8562, allocations: 18.97 kB / 0.7764 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.8574, allocations: 285.8 kB / 0.7767 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/0.8579, allocations: 203.6 kB / 0.7769 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009903/0.8589, allocations: 0.9187 MB / 0.7778 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.8596, allocations: 44.81 kB / 0.7778 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.8597, allocations: 72.81 kB / 0.7779 GB, free: 9.836 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.0004109/0.8601, allocations: 338.4 kB / 0.7782 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.8602, allocations: 96.33 kB / 0.7783 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008868/0.8611, allocations: 0.5199 MB / 0.7788 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.8611, allocations: 3.594 kB / 0.7788 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.8611, allocations: 2.781 kB / 0.7788 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.8612, allocations: 4.156 kB / 0.7788 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.8626, allocations: 1.088 MB / 0.7799 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8626, allocations: 2.016 kB / 0.7799 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.8636, allocations: 183.3 kB / 0.7801 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.517e-05/0.8636, allocations: 26.27 kB / 0.7801 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.8637, allocations: 13.58 kB / 0.7801 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/0.8658, allocations: 2.666 MB / 0.7827 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8658, allocations: 5.969 kB / 0.7827 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.8667, allocations: 0.7044 MB / 0.7834 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.867, allocations: 124 kB / 0.7835 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.8671, allocations: 9.781 kB / 0.7835 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.8675, allocations: 15.12 kB / 0.7836 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.8676, allocations: 31.08 kB / 0.7836 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.8677, allocations: 21.11 kB / 0.7836 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006701/0.8683, allocations: 0.6298 MB / 0.7842 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8683, allocations: 0 / 0.7842 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00125/0.8696, allocations: 382.6 kB / 0.7846 GB, free: 6.395 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.001413/0.871, allocations: 0.6267 MB / 0.7852 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.8721, allocations: 0.6585 MB / 0.7858 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8721, allocations: 1.203 kB / 0.7858 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.8729, allocations: 351.4 kB / 0.7862 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.8746, allocations: 429.3 kB / 0.7866 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.8771, allocations: 1.697 MB / 0.7882 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006041/0.8777, allocations: 1.031 MB / 0.7893 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.8779, allocations: 93.52 kB / 0.7893 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.8779, allocations: 0 / 0.7893 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.03024/0.9081, allocations: 22.88 MB / 0.8117 GB, free: 6.605 MB / 0.5919 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: 12.079290308058262]