Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001969/0.001969, allocations: 89.14 kB / 20.68 MB, free: 1.02 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.002612/0.002612, allocations: 158.8 kB / 23.95 MB, free: 4.152 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.497/1.497, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2228/0.2228, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.609e-05, allocations: 4.812 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4243/0.4244, allocations: 156.5 MB / 0.5851 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.4352, allocations: 5.973 MB / 0.5909 GB, free: 3.227 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008846/0.4361, allocations: 31.69 kB / 0.5909 GB, free: 3.195 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.4377, allocations: 393.6 kB / 0.5913 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005713/0.4434, allocations: 1.823 MB / 0.5931 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004803/0.4482, allocations: 1.562 MB / 0.5946 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003673/0.4519, allocations: 2.145 MB / 0.5967 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.4532, allocations: 485.9 kB / 0.5972 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005562/0.4588, allocations: 2.049 MB / 0.5992 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003679/0.4625, allocations: 1.496 MB / 0.6006 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003976/0.4629, allocations: 76 kB / 0.6007 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003462/0.4663, allocations: 1.161 MB / 0.6019 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007825/0.4671, allocations: 478.7 kB / 0.6023 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001285/0.4684, allocations: 411.2 kB / 0.6027 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.4733, allocations: 2.201 MB / 0.6049 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4733, allocations: 1.781 kB / 0.6049 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4733, allocations: 0 / 0.6049 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.952e-05/0.4734, allocations: 4 kB / 0.6049 GB, free: 4.918 MB / 0.4981 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.004599/0.478, allocations: 1.395 MB / 0.6062 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.478, allocations: 8.031 kB / 0.6062 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.4798, allocations: 287.1 kB / 0.6065 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.4814, allocations: 0.5674 MB / 0.6071 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.4816, allocations: 172.1 kB / 0.6072 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.4818, allocations: 67.89 kB / 0.6073 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.4848, allocations: 1.966 MB / 0.6092 GB, free: 140 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.4848, allocations: 7.938 kB / 0.6092 GB, free: 132 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.485, allocations: 35.98 kB / 0.6092 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/0.4851, allocations: 79.14 kB / 0.6093 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.4872, allocations: 1.047 MB / 0.6103 GB, free: 14.96 MB / 0.5137 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.008239/0.4954, allocations: 3.874 MB / 0.6141 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000694/0.4961, allocations: 294.6 kB / 0.6144 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.4964, allocations: 138.8 kB / 0.6145 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.4965, allocations: 19.98 kB / 0.6146 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.366e-05/0.4965, allocations: 42.5 kB / 0.6146 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=28): time 3.116e-06/0.4966, allocations: 1.031 kB / 0.6146 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33): time 0.007762/0.5043, allocations: 1.748 MB / 0.6163 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.5044, allocations: 136.5 kB / 0.6164 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.5058, allocations: 0.84 MB / 0.6173 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/0.5059, allocations: 33.7 kB / 0.6173 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006045/0.5065, allocations: 0.5882 MB / 0.6179 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.5067, allocations: 134.9 kB / 0.618 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/0.5071, allocations: 218.8 kB / 0.6182 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0003733/0.5074, allocations: 390.7 kB / 0.6186 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.508, allocations: 274.4 kB / 0.6188 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.5092, allocations: 0.9392 MB / 0.6198 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.5109, allocations: 1.183 MB / 0.6209 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-05/0.5109, allocations: 4 kB / 0.6209 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002487/0.5134, allocations: 1.228 MB / 0.6221 GB, free: 2.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/0.5134, allocations: 16 kB / 0.6221 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.849e-05/0.5134, allocations: 20 kB / 0.6221 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.515, allocations: 285.2 kB / 0.6224 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.5157, allocations: 207.6 kB / 0.6226 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001264/0.517, allocations: 0.9114 MB / 0.6235 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008111/0.5178, allocations: 47.98 kB / 0.6236 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.5179, allocations: 68 kB / 0.6236 GB, free: 496 kB / 0.5137 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.0006727/0.5185, allocations: 339.5 kB / 0.6239 GB, free: 148 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.5188, allocations: 91.47 kB / 0.624 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.5201, allocations: 0.5082 MB / 0.6245 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5201, allocations: 4 kB / 0.6245 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5201, allocations: 0 / 0.6245 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.5201, allocations: 3.984 kB / 0.6245 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.5222, allocations: 0.9725 MB / 0.6255 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5222, allocations: 6.125 kB / 0.6255 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.5234, allocations: 175.8 kB / 0.6257 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.5235, allocations: 24.83 kB / 0.6257 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.249e-05/0.5235, allocations: 12 kB / 0.6257 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002821/0.5263, allocations: 2.625 MB / 0.6283 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5263, allocations: 0 / 0.6283 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.5277, allocations: 0.6968 MB / 0.6289 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.5281, allocations: 111.6 kB / 0.629 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.5283, allocations: 11.95 kB / 0.6291 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.5288, allocations: 19.98 kB / 0.6291 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.5289, allocations: 23.95 kB / 0.6291 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.5289, allocations: 19.94 kB / 0.6291 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001058/0.53, allocations: 0.5263 MB / 0.6296 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/0.53, allocations: 0 / 0.6296 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001708/0.5317, allocations: 379.5 kB / 0.63 GB, free: 9.676 MB / 0.5294 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.002058/0.5338, allocations: 0.6477 MB / 0.6306 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.5356, allocations: 0.6469 MB / 0.6313 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.5356, allocations: 3.938 kB / 0.6313 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5367, allocations: 363.6 kB / 0.6316 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002093/0.5388, allocations: 352.1 kB / 0.6319 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.542, allocations: 1.514 MB / 0.6334 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.5426, allocations: 433.5 kB / 0.6338 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001109/0.5437, allocations: 366 kB / 0.6342 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.544, allocations: 72.48 kB / 0.6343 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.544, allocations: 0 / 0.6343 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of Templates: time 0.2134/0.7574, allocations: 19.31 MB / 0.6531 GB, free: 184.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.475199718028307]