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.001842/0.001842, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002372/0.002372, allocations: 211.4 kB / 24.48 MB, free: 3.938 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.627/1.627, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.2305/0.2305, allocations: 46.96 MB / 361.6 MB, free: 4.039 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.001993/0.001993, allocations: 68.14 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.211/0.5411, allocations: 156.5 MB / 0.7147 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009546/0.5506, allocations: 5.97 MB / 0.7205 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007322/0.5514, allocations: 31.69 kB / 0.7205 GB, free: 1.047 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.5526, allocations: 389.7 kB / 0.7209 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004556/0.5571, allocations: 1.792 MB / 0.7227 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003988/0.5611, allocations: 1.514 MB / 0.7241 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003023/0.5642, allocations: 2.145 MB / 0.7262 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009589/0.5651, allocations: 489.4 kB / 0.7267 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004297/0.5694, allocations: 1.791 MB / 0.7284 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00326/0.5727, allocations: 1.562 MB / 0.73 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002778/0.573, allocations: 76 kB / 0.73 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.5757, allocations: 1.165 MB / 0.7312 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.5762, allocations: 454.7 kB / 0.7316 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00072/0.577, allocations: 474.2 kB / 0.7321 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.5801, allocations: 2.072 MB / 0.7341 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5801, allocations: 0 / 0.7341 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5801, allocations: 4 kB / 0.7341 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.5801, allocations: 4 kB / 0.7341 GB, free: 3.125 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.003294/0.5834, allocations: 1.395 MB / 0.7355 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.5835, allocations: 8.031 kB / 0.7355 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.585, allocations: 291.1 kB / 0.7357 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.5864, allocations: 0.5829 MB / 0.7363 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.5866, allocations: 168.1 kB / 0.7365 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.5867, allocations: 63.92 kB / 0.7365 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2339/0.8206, allocations: 1.962 MB / 0.7385 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.231e-05/0.8207, allocations: 4.531 kB / 0.7385 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.821, allocations: 38.33 kB / 0.7385 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.8212, allocations: 77.95 kB / 0.7386 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00239/0.8236, allocations: 1.052 MB / 0.7396 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.00586/0.8294, allocations: 3.857 MB / 0.7434 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.8298, allocations: 304.4 kB / 0.7436 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.83, allocations: 133.7 kB / 0.7438 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.8301, allocations: 21.44 kB / 0.7438 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.8301, allocations: 42.03 kB / 0.7438 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=28): time 2.275e-06/0.8301, allocations: 0 / 0.7438 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.005926/0.836, allocations: 1.752 MB / 0.7455 GB, free: 170.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.8361, allocations: 132.5 kB / 0.7457 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006582/0.8367, allocations: 0.8409 MB / 0.7465 GB, free: 169.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.8368, allocations: 33.7 kB / 0.7465 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.837, allocations: 0.59 MB / 0.7471 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/0.8371, allocations: 138.9 kB / 0.7472 GB, free: 168.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.8373, allocations: 224 kB / 0.7475 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.588e-05/0.8374, allocations: 394.7 kB / 0.7478 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.8377, allocations: 274.4 kB / 0.7481 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.8382, allocations: 0.9466 MB / 0.749 GB, free: 166.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/0.8391, allocations: 1.17 MB / 0.7502 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.8391, allocations: 9.938 kB / 0.7502 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001469/0.8405, allocations: 1.223 MB / 0.7514 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8406, allocations: 16 kB / 0.7514 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.8406, allocations: 20 kB / 0.7514 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.8418, allocations: 282.1 kB / 0.7517 GB, free: 163.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005256/0.8423, allocations: 203.6 kB / 0.7519 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007958/0.8431, allocations: 0.9218 MB / 0.7528 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008067/0.8439, allocations: 44 kB / 0.7528 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.844, allocations: 74.23 kB / 0.7529 GB, free: 162.3 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.0003309/0.8443, allocations: 344.7 kB / 0.7532 GB, free: 162 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.8444, allocations: 83.48 kB / 0.7533 GB, free: 161.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.8452, allocations: 0.5015 MB / 0.7538 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.8452, allocations: 7.938 kB / 0.7538 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8453, allocations: 0 / 0.7538 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.8453, allocations: 0 / 0.7538 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.8465, allocations: 0.9752 MB / 0.7547 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.8465, allocations: 0 / 0.7547 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.8475, allocations: 192.9 kB / 0.7549 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.678e-05/0.8476, allocations: 16.84 kB / 0.7549 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/0.8476, allocations: 12 kB / 0.7549 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00123/0.8488, allocations: 2.622 MB / 0.7575 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8488, allocations: 3.938 kB / 0.7575 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007811/0.8496, allocations: 0.6898 MB / 0.7582 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002418/0.8499, allocations: 103.4 kB / 0.7583 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.85, allocations: 12 kB / 0.7583 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.8504, allocations: 11.98 kB / 0.7583 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.8504, allocations: 39.8 kB / 0.7583 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/0.8505, allocations: 19.98 kB / 0.7584 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004728/0.8509, allocations: 0.5302 MB / 0.7589 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8509, allocations: 0 / 0.7589 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001115/0.8521, allocations: 379.4 kB / 0.7592 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.001337/0.8534, allocations: 0.6313 MB / 0.7599 GB, free: 155 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.8544, allocations: 0.6501 MB / 0.7605 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.8544, allocations: 3.953 kB / 0.7605 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.8552, allocations: 363.4 kB / 0.7608 GB, free: 154 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.8565, allocations: 338.5 kB / 0.7612 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.8584, allocations: 1.675 MB / 0.7628 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.8588, allocations: 429.4 kB / 0.7632 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002169/0.859, allocations: 87.42 kB / 0.7633 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.859, allocations: 0 / 0.7633 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.02075/0.8797, allocations: 22.09 MB / 0.7849 GB, free: 129.4 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: 12.379704338993179]