Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001836/0.001836, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.00148/0.00148, allocations: 205.2 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.249/0.249, allocations: 44.26 MB / 331.1 MB, free: 9.312 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 71.91 kB / 468.8 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1575, allocations: 61.03 MB / 0.5174 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5514/0.7089, allocations: 158.8 MB / 0.6725 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.7205, allocations: 6.395 MB / 0.6787 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.7216, allocations: 27.75 kB / 0.6788 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.7232, allocations: 389.7 kB / 0.6791 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006688/0.7299, allocations: 2.055 MB / 0.6811 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.7352, allocations: 1.702 MB / 0.6828 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.7387, allocations: 2.122 MB / 0.6849 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.7399, allocations: 485.4 kB / 0.6853 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.7446, allocations: 1.931 MB / 0.6872 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003186/0.7478, allocations: 1.511 MB / 0.6887 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.7482, allocations: 79.94 kB / 0.6888 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004442/0.7527, allocations: 1.352 MB / 0.6901 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006781/0.7534, allocations: 458.7 kB / 0.6905 GB, free: 0.8281 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008123/0.7542, allocations: 478.1 kB / 0.691 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004045/0.7582, allocations: 2.196 MB / 0.6931 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7582, allocations: 0 / 0.6931 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7582, allocations: 0 / 0.6931 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.7582, allocations: 4 kB / 0.6931 GB, free: 14.15 MB / 0.5294 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.003274/0.7615, allocations: 1.365 MB / 0.6945 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7616, allocations: 11.97 kB / 0.6945 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.763, allocations: 287.1 kB / 0.6948 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.7643, allocations: 0.5674 MB / 0.6953 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.7645, allocations: 180 kB / 0.6955 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.7646, allocations: 64 kB / 0.6955 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/0.7672, allocations: 1.987 MB / 0.6975 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.7672, allocations: 3.938 kB / 0.6975 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.7673, allocations: 43.03 kB / 0.6975 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001136/0.7674, allocations: 81.27 kB / 0.6976 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.7692, allocations: 1.047 MB / 0.6986 GB, free: 8.199 MB / 0.5294 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.006862/0.776, allocations: 3.906 MB / 0.7024 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.7766, allocations: 296.1 kB / 0.7027 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.7769, allocations: 136.8 kB / 0.7029 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.777, allocations: 61.88 kB / 0.7029 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.777, allocations: 38.56 kB / 0.7029 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/0.777, allocations: 0 / 0.7029 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.006675/0.7837, allocations: 1.737 MB / 0.7046 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.7838, allocations: 136.5 kB / 0.7048 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.7849, allocations: 0.8438 MB / 0.7056 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.785, allocations: 41.64 kB / 0.7056 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004861/0.7855, allocations: 0.5961 MB / 0.7062 GB, free: 164 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.7856, allocations: 134.9 kB / 0.7063 GB, free: 28 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003098/0.7859, allocations: 210.8 kB / 0.7066 GB, free: 15.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.7861, allocations: 394.7 kB / 0.7069 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004572/0.7866, allocations: 274.5 kB / 0.7072 GB, free: 15.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.7877, allocations: 0.9463 MB / 0.7081 GB, free: 13.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/0.7892, allocations: 1.175 MB / 0.7093 GB, free: 12.45 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.7892, allocations: 4 kB / 0.7093 GB, free: 12.45 MB / 0.545 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002066/0.7913, allocations: 1.225 MB / 0.7105 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.7913, allocations: 13.88 kB / 0.7105 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.7913, allocations: 20 kB / 0.7105 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.7926, allocations: 288.9 kB / 0.7108 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/0.7931, allocations: 207.6 kB / 0.711 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.7943, allocations: 0.9108 MB / 0.7119 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007354/0.795, allocations: 43.98 kB / 0.7119 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.7951, allocations: 68 kB / 0.712 GB, free: 9.656 MB / 0.545 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.0004913/0.7956, allocations: 337.2 kB / 0.7123 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.7957, allocations: 87.42 kB / 0.7124 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00096/0.7967, allocations: 482 kB / 0.7128 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.7967, allocations: 4 kB / 0.7128 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.7967, allocations: 0 / 0.7128 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.7967, allocations: 4.031 kB / 0.7128 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001756/0.7985, allocations: 0.9684 MB / 0.7138 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7985, allocations: 4.031 kB / 0.7138 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009763/0.7994, allocations: 179.8 kB / 0.714 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.108e-05/0.7995, allocations: 20.84 kB / 0.714 GB, free: 7.527 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.7996, allocations: 15.98 kB / 0.714 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.8018, allocations: 2.626 MB / 0.7166 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8018, allocations: 0 / 0.7166 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.803, allocations: 0.6932 MB / 0.7172 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.8034, allocations: 115.8 kB / 0.7173 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8035, allocations: 16 kB / 0.7174 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.8039, allocations: 19.98 kB / 0.7174 GB, free: 3.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.8039, allocations: 35.83 kB / 0.7174 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.804, allocations: 16 kB / 0.7174 GB, free: 3.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007444/0.8047, allocations: 0.5224 MB / 0.7179 GB, free: 3.254 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8047, allocations: 0 / 0.7179 GB, free: 3.254 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00163/0.8063, allocations: 431.3 kB / 0.7183 GB, free: 2.832 MB / 0.545 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.00201/0.8084, allocations: 0.7468 MB / 0.7191 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.8099, allocations: 0.6509 MB / 0.7197 GB, free: 1.438 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8099, allocations: 4 kB / 0.7197 GB, free: 1.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/0.8108, allocations: 350.7 kB / 0.7201 GB, free: 1.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001589/0.8124, allocations: 335 kB / 0.7204 GB, free: 0.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.8154, allocations: 1.663 MB / 0.722 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.8159, allocations: 437 kB / 0.7224 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.8161, allocations: 87.36 kB / 0.7225 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.213e-06/0.8161, allocations: 0 / 0.7225 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0368/0.8529, allocations: 22.71 MB / 0.7447 GB, free: 7.789 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/SimpleNaturalGasFixedComposition/SimpleNaturalGasFixedComposition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.116891935933381]