Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.002257/0.002257, allocations: 96.97 kB / 20.21 MB, free: 4.207 MB / 18.57 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.002047/0.002047, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.359/1.359, allocations: 158.6 MB / 185.3 MB, free: 2.836 MB / 170.7 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.2086/0.2086, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 180] 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.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.146e-05, allocations: 2.312 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.07342/0.07345, allocations: 39.98 MB / 386.9 MB, free: 1.66 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03363/0.1071, allocations: 20.12 MB / 407.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009404/0.108, allocations: 31.69 kB / 407.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.1097, allocations: 421.2 kB / 407.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01711/0.1268, allocations: 5.176 MB / 412.7 MB, free: 7.828 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008629/0.1355, allocations: 2.594 MB / 415.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003507/0.139, allocations: 2.008 MB / 417.3 MB, free: 3.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.1403, allocations: 438 kB / 417.7 MB, free: 2.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01356/0.1538, allocations: 4.41 MB / 422.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01518/0.169, allocations: 5.417 MB / 427.5 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.1693, allocations: 72 kB / 427.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01572/0.185, allocations: 6.921 MB / 434.5 MB, free: 1.801 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005698/0.1856, allocations: 299.1 kB / 434.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007095/0.1863, allocations: 319.3 kB / 435.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1732/0.3595, allocations: 6.112 MB / 441.2 MB, free: 36.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3595, allocations: 0 / 441.2 MB, free: 36.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3595, allocations: 0 / 441.2 MB, free: 36.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3595, allocations: 0 / 441.2 MB, free: 36.67 MB / 362.7 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.004625/0.3641, allocations: 1.738 MB / 443 MB, free: 35.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3642, allocations: 13.83 kB / 443 MB, free: 35.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/0.3657, allocations: 369.9 kB / 443.4 MB, free: 35.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008998/0.3666, allocations: 0.5144 MB / 443.9 MB, free: 35.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.3667, allocations: 165.5 kB / 444 MB, free: 35.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3668, allocations: 62.03 kB / 444.1 MB, free: 35.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.3684, allocations: 1.367 MB / 445.5 MB, free: 34.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.3684, allocations: 5.375 kB / 445.5 MB, free: 34.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.3685, allocations: 37.36 kB / 445.5 MB, free: 34.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.3686, allocations: 41.41 kB / 445.5 MB, free: 34.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.3698, allocations: 0.6583 MB / 446.2 MB, free: 34.6 MB / 362.7 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.00469/0.3745, allocations: 5.975 MB / 452.2 MB, free: 30.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.3755, allocations: 0.4989 MB / 452.7 MB, free: 30.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.3758, allocations: 176.3 kB / 452.8 MB, free: 30.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08248/0.4583, allocations: 25.18 MB / 478 MB, free: 22.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.4583, allocations: 41.08 kB / 478.1 MB, free: 22.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.104e-06/0.4583, allocations: 0 / 478.1 MB, free: 22.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.005395/0.4637, allocations: 1.97 MB / 480 MB, free: 20.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.4637, allocations: 183.9 kB / 480.2 MB, free: 20.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.4643, allocations: 0.6984 MB / 480.9 MB, free: 19.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.4644, allocations: 36.89 kB / 480.9 MB, free: 19.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.4646, allocations: 490.7 kB / 481.4 MB, free: 19.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.4647, allocations: 181.5 kB / 481.6 MB, free: 19.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.4649, allocations: 200 kB / 481.8 MB, free: 19.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.4651, allocations: 0.5853 MB / 482.4 MB, free: 18.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.4654, allocations: 168.8 kB / 482.5 MB, free: 18.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.4658, allocations: 0.7874 MB / 483.3 MB, free: 17.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.4666, allocations: 0.9336 MB / 484.3 MB, free: 16.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4666, allocations: 4 kB / 484.3 MB, free: 16.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00108/0.4677, allocations: 0.8179 MB / 485.1 MB, free: 16.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.4677, allocations: 12 kB / 485.1 MB, free: 16.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4677, allocations: 16.09 kB / 485.1 MB, free: 16.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.4708, allocations: 271.3 kB / 485.4 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4718, allocations: 276.7 kB / 485.7 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001224/0.473, allocations: 2.762 MB / 488.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.4735, allocations: 31.12 kB / 488.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.4735, allocations: 42.98 kB / 488.5 MB, free: 12.8 MB / 362.7 MB 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.0002844/0.4738, allocations: 279.9 kB / 488.8 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.474, allocations: 87.33 kB / 488.8 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4753, allocations: 1.343 MB / 490.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.4753, allocations: 23.84 kB / 490.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.4753, allocations: 0 / 490.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.4753, allocations: 3.984 kB / 490.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.4774, allocations: 2.069 MB / 492.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4774, allocations: 0 / 492.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.4782, allocations: 182 kB / 492.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.4798, allocations: 274.9 kB / 492.7 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.4798, allocations: 11.44 kB / 492.7 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.4809, allocations: 2.737 MB / 495.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4809, allocations: 0 / 495.5 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.4823, allocations: 1.524 MB / 497 MB, free: 5.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.4826, allocations: 137.3 kB / 497.1 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/0.4827, allocations: 33.31 kB / 497.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.4831, allocations: 17.3 kB / 497.2 MB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.4832, allocations: 32.06 kB / 497.2 MB, free: 5.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.4832, allocations: 26.86 kB / 497.2 MB, free: 5.008 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.4837, allocations: 0.5422 MB / 497.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4837, allocations: 0 / 497.8 MB, free: 4.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004795/0.4885, allocations: 1.1 MB / 498.9 MB, free: 3.543 MB / 362.7 MB 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.005616/0.4942, allocations: 1.327 MB / 0.4885 GB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.4959, allocations: 0.732 MB / 0.4892 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.4959, allocations: 0 / 0.4892 GB, free: 1.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009217/0.4969, allocations: 456.5 kB / 0.4896 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.4987, allocations: 355.6 kB / 0.49 GB, free: 1.141 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.5016, allocations: 1.914 MB / 0.4919 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.5022, allocations: 497.6 kB / 0.4923 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007228/0.5029, allocations: 315 kB / 0.4926 GB, free: 14.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001509/0.503, allocations: 68.17 kB / 0.4927 GB, free: 14.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.503, allocations: 0 / 0.4927 GB, free: 14.54 MB / 378.7 MB Notification: Performance of Templates: time 0.07857/0.5816, allocations: 44.91 MB / 0.5365 GB, free: 1.941 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.189021077938378]