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.001794/0.001794, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00229/0.00229, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.509/1.509, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2363/0.2363, allocations: 46.95 MB / 360.9 MB, free: 4.047 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.003158/0.003158, allocations: 71.89 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3694, allocations: 66.04 MB / 0.5611 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.226/0.5954, allocations: 156.5 MB / 0.7139 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.6058, allocations: 5.982 MB / 0.7198 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000836/0.6067, allocations: 27.75 kB / 0.7198 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.6082, allocations: 389.7 kB / 0.7202 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.6134, allocations: 1.787 MB / 0.7219 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004273/0.6177, allocations: 1.51 MB / 0.7234 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00293/0.6206, allocations: 2.137 MB / 0.7255 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000992/0.6216, allocations: 485.3 kB / 0.7259 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00401/0.6256, allocations: 1.799 MB / 0.7277 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/0.6287, allocations: 1.538 MB / 0.7292 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.629, allocations: 76 kB / 0.7293 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.6319, allocations: 1.15 MB / 0.7304 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006784/0.6326, allocations: 446.7 kB / 0.7308 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009567/0.6336, allocations: 478.2 kB / 0.7313 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.6371, allocations: 2.068 MB / 0.7333 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.6371, allocations: 3.984 kB / 0.7333 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6371, allocations: 0 / 0.7333 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.437e-05/0.6371, allocations: 0 / 0.7333 GB, free: 3.207 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.003687/0.6408, allocations: 1.403 MB / 0.7347 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.6408, allocations: 8.031 kB / 0.7347 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.6423, allocations: 287.1 kB / 0.735 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/0.6437, allocations: 0.5829 MB / 0.7355 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.6439, allocations: 164.1 kB / 0.7357 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.644, allocations: 67.92 kB / 0.7357 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2663/0.9104, allocations: 1.965 MB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.618e-05/0.9104, allocations: 4.312 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.9105, allocations: 34.52 kB / 0.7377 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001848/0.9107, allocations: 82.08 kB / 0.7378 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.913, allocations: 1.052 MB / 0.7388 GB, free: 174.3 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.005884/0.9188, allocations: 3.851 MB / 0.7426 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.9193, allocations: 308.2 kB / 0.7429 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.9195, allocations: 135.7 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.169e-05/0.9196, allocations: 19.25 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.9196, allocations: 41.41 kB / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.9196, allocations: 0 / 0.743 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.006181/0.9258, allocations: 1.748 MB / 0.7448 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.9258, allocations: 136.5 kB / 0.7449 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00071/0.9265, allocations: 0.8331 MB / 0.7457 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.9266, allocations: 37.7 kB / 0.7457 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.9269, allocations: 0.5903 MB / 0.7463 GB, free: 168.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.078e-05/0.927, allocations: 142.7 kB / 0.7464 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.9272, allocations: 218.8 kB / 0.7467 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.9273, allocations: 394.7 kB / 0.747 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003471/0.9276, allocations: 279.3 kB / 0.7473 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.9282, allocations: 0.9389 MB / 0.7482 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009158/0.9291, allocations: 1.172 MB / 0.7494 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.9291, allocations: 8 kB / 0.7494 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001486/0.9306, allocations: 1.224 MB / 0.7506 GB, free: 164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.9306, allocations: 12 kB / 0.7506 GB, free: 164 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.9306, allocations: 23.16 kB / 0.7506 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.9318, allocations: 291.1 kB / 0.7509 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.9323, allocations: 206.3 kB / 0.7511 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007844/0.9331, allocations: 0.9214 MB / 0.752 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006673/0.9337, allocations: 43.44 kB / 0.752 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.836e-05/0.9338, allocations: 71.98 kB / 0.7521 GB, free: 162.4 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.0003406/0.9342, allocations: 341.9 kB / 0.7524 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.9343, allocations: 83.48 kB / 0.7525 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/0.9351, allocations: 0.5079 MB / 0.753 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.9351, allocations: 4 kB / 0.753 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9351, allocations: 0 / 0.753 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.9351, allocations: 3.25 kB / 0.753 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.9364, allocations: 0.9645 MB / 0.7539 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9364, allocations: 0 / 0.7539 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009588/0.9374, allocations: 195.7 kB / 0.7541 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.755e-05/0.9375, allocations: 24.44 kB / 0.7541 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.9375, allocations: 8 kB / 0.7541 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.9388, allocations: 2.623 MB / 0.7567 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.9388, allocations: 4.031 kB / 0.7567 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/0.9396, allocations: 0.6894 MB / 0.7574 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002396/0.9399, allocations: 107.5 kB / 0.7575 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.94, allocations: 11.95 kB / 0.7575 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.9403, allocations: 11.98 kB / 0.7575 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.9404, allocations: 35.83 kB / 0.7575 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.9404, allocations: 23.7 kB / 0.7576 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005043/0.941, allocations: 0.5274 MB / 0.7581 GB, free: 156 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.941, allocations: 0 / 0.7581 GB, free: 156 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001169/0.9421, allocations: 383.5 kB / 0.7584 GB, free: 155.6 MB / 0.5606 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.001361/0.9435, allocations: 0.6294 MB / 0.7591 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.9446, allocations: 0.6494 MB / 0.7597 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9446, allocations: 0 / 0.7597 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008038/0.9454, allocations: 368.1 kB / 0.76 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.9468, allocations: 343.5 kB / 0.7604 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.9487, allocations: 1.618 MB / 0.762 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.9491, allocations: 425.4 kB / 0.7624 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007523/0.9498, allocations: 376.7 kB / 0.7627 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.95, allocations: 75.42 kB / 0.7628 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.95, allocations: 0 / 0.7628 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.02673/0.9767, allocations: 20.83 MB / 0.7831 GB, free: 130.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins/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.951053394004703]