Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.001489/0.001489, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.00162/0.00162, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.595/1.595, allocations: 230.2 MB / 255.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2197/0.2197, allocations: 46.89 MB / 358.1 MB, free: 10.49 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-beta.om/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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 83.86 kB / 0.4924 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1235, allocations: 65.98 MB / 0.5568 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.3146/0.4381, allocations: 39.42 MB / 0.5953 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02255/0.4607, allocations: 20.23 MB / 0.6151 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.4617, allocations: 21.53 kB / 0.6151 GB, free: 3.816 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.4631, allocations: 457.1 kB / 0.6155 GB, free: 3.723 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.4798, allocations: 5.14 MB / 0.6205 GB, free: 2.812 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008456/0.4883, allocations: 2.568 MB / 0.623 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003105/0.4914, allocations: 1.974 MB / 0.625 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007684/0.4921, allocations: 426.6 kB / 0.6254 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01037/0.5025, allocations: 4.17 MB / 0.6295 GB, free: 172 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01283/0.5153, allocations: 5.481 MB / 0.6348 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.5156, allocations: 67.84 kB / 0.6349 GB, free: 12.84 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/0.5329, allocations: 7.275 MB / 0.642 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005783/0.5335, allocations: 277.5 kB / 0.6422 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008512/0.5343, allocations: 449.4 kB / 0.6427 GB, free: 8.637 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01405/0.5484, allocations: 4.983 MB / 0.6475 GB, free: 4.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.959e-06/0.5484, allocations: 4 kB / 0.6475 GB, free: 4.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5484, allocations: 0 / 0.6475 GB, free: 4.809 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.018e-05/0.5484, allocations: 0 / 0.6475 GB, free: 4.809 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004996/0.5534, allocations: 1.678 MB / 0.6492 GB, free: 3.078 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.5535, allocations: 8.031 kB / 0.6492 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001533/0.555, allocations: 220.3 kB / 0.6494 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000995/0.556, allocations: 0.5798 MB / 0.65 GB, free: 2.238 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.5561, allocations: 109.3 kB / 0.6501 GB, free: 2.121 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.5563, allocations: 60.36 kB / 0.6501 GB, free: 2.062 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.5584, allocations: 1.075 MB / 0.6512 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.5584, allocations: 7.938 kB / 0.6512 GB, free: 0.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.387e-05/0.5585, allocations: 31.98 kB / 0.6512 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.5586, allocations: 44.98 kB / 0.6513 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001733/0.5603, allocations: 0.8194 MB / 0.6521 GB, free: 15.98 MB / 478.1 MB 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.006581/0.5669, allocations: 5.565 MB / 0.6575 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.5682, allocations: 0.5154 MB / 0.658 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.5685, allocations: 206.4 kB / 0.6582 GB, free: 9.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1091/0.6776, allocations: 52.78 MB / 0.7097 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.6776, allocations: 42.56 kB / 0.7098 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.876e-06/0.6777, allocations: 0 / 0.7098 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44): time 0.006787/0.6844, allocations: 2.157 MB / 0.7119 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.6846, allocations: 187.9 kB / 0.7121 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.6854, allocations: 0.6407 MB / 0.7127 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.6855, allocations: 33.7 kB / 0.7127 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.6858, allocations: 412.2 kB / 0.7131 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.6859, allocations: 170.6 kB / 0.7133 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.6862, allocations: 158.6 kB / 0.7134 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.6864, allocations: 382.7 kB / 0.7138 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.6868, allocations: 237.8 kB / 0.714 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.6875, allocations: 0.5899 MB / 0.7146 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6887, allocations: 0.8638 MB / 0.7154 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.6887, allocations: 4 kB / 0.7154 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001564/0.6903, allocations: 0.9005 MB / 0.7163 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.6903, allocations: 11.98 kB / 0.7163 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.6903, allocations: 12 kB / 0.7163 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003294/0.6936, allocations: 272.6 kB / 0.7166 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.6949, allocations: 283.5 kB / 0.7169 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.697, allocations: 2.125 MB / 0.7189 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.6976, allocations: 28 kB / 0.719 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.6977, allocations: 43.98 kB / 0.719 GB, free: 3.715 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000452/0.6981, allocations: 276.5 kB / 0.7193 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.6983, allocations: 75.53 kB / 0.7193 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.7009, allocations: 2.007 MB / 0.7213 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/0.701, allocations: 23.91 kB / 0.7213 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.701, allocations: 0 / 0.7213 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.235e-05/0.701, allocations: 7.984 kB / 0.7213 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/0.7048, allocations: 2.999 MB / 0.7243 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7048, allocations: 0 / 0.7243 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000957/0.7058, allocations: 183.8 kB / 0.7244 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001739/0.7075, allocations: 303.9 kB / 0.7247 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.7075, allocations: 11.98 kB / 0.7247 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/0.7095, allocations: 2.185 MB / 0.7269 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7095, allocations: 0 / 0.7269 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/0.712, allocations: 1.945 MB / 0.7288 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.7124, allocations: 232.2 kB / 0.729 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.7125, allocations: 39.73 kB / 0.729 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.7129, allocations: 11.98 kB / 0.729 GB, free: 9.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/0.713, allocations: 32.34 kB / 0.7291 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.713, allocations: 20.86 kB / 0.7291 GB, free: 9.074 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008134/0.7138, allocations: 0.5732 MB / 0.7297 GB, free: 8.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7138, allocations: 3.938 kB / 0.7297 GB, free: 8.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003585/0.7174, allocations: 1.1 MB / 0.7307 GB, free: 7.402 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00455/0.722, allocations: 1.215 MB / 0.7319 GB, free: 6.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002092/0.7241, allocations: 0.8817 MB / 0.7328 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7241, allocations: 0 / 0.7328 GB, free: 5.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.7253, allocations: 0.5892 MB / 0.7334 GB, free: 4.719 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.7274, allocations: 398.4 kB / 0.7337 GB, free: 4.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.7307, allocations: 2.205 MB / 0.7359 GB, free: 2.094 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007589/0.7315, allocations: 1.089 MB / 0.737 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.7317, allocations: 67.44 kB / 0.737 GB, free: 0.918 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.7317, allocations: 0 / 0.737 GB, free: 0.918 MB / 0.545 GB Notification: Performance of Templates: time 0.05439/0.786, allocations: 37.44 MB / 0.7736 GB, free: 11.5 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.762735824100673]