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.00142/0.00142, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.00138/0.00138, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.9257/0.9257, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] 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.194/0.194, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.513e-06/1.513e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.778e-05/2.93e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.1865/0.1865, allocations: 16.61 MB / 315.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01631/0.2028, allocations: 13.99 MB / 329.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009636/0.2038, allocations: 27.75 kB / 329.7 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.2046, allocations: 250.3 kB / 330 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01724/0.2219, allocations: 4.961 MB / 334.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005913/0.2278, allocations: 1.963 MB / 336.9 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003161/0.231, allocations: 2.039 MB / 338.9 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008703/0.2318, allocations: 458 kB / 339.4 MB, free: 5.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.013/0.2448, allocations: 7.634 MB / 347 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.2487, allocations: 2.151 MB / 349.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002487/0.249, allocations: 64 kB / 349.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01294/0.2619, allocations: 6.735 MB / 355.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005682/0.2625, allocations: 303 kB / 356.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008158/0.2633, allocations: 315.3 kB / 356.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.2796, allocations: 5.562 MB / 362.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.978e-06/0.2796, allocations: 0 / 362.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.2796, allocations: 0 / 362.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.78e-05/0.2796, allocations: 0 / 362.1 MB, free: 14.99 MB / 330.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.004066/0.2837, allocations: 1.513 MB / 363.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.2837, allocations: 8.031 kB / 363.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.2847, allocations: 371.8 kB / 364 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.2855, allocations: 447.2 kB / 364.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.2856, allocations: 164.7 kB / 364.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.2857, allocations: 64.31 kB / 364.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.2869, allocations: 1.077 MB / 365.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.2869, allocations: 11.88 kB / 365.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.2869, allocations: 28 kB / 365.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/0.287, allocations: 40.98 kB / 365.8 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006641/0.2877, allocations: 401 kB / 366.2 MB, free: 10.63 MB / 330.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.003643/0.2913, allocations: 3.795 MB / 370 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.2919, allocations: 345.5 kB / 370.3 MB, free: 6.34 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.292, allocations: 78.55 kB / 370.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1223/0.4144, allocations: 67.23 MB / 437.6 MB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.4144, allocations: 38.56 kB / 437.7 MB, free: 2.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 3.005e-06/0.4144, allocations: 0 / 437.7 MB, free: 2.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.003626/0.418, allocations: 1.255 MB / 438.9 MB, free: 1.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4181, allocations: 195.9 kB / 439.1 MB, free: 1.383 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.4186, allocations: 494.7 kB / 439.6 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.4186, allocations: 37.7 kB / 439.6 MB, free: 0.8438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.4189, allocations: 380.7 kB / 440 MB, free: 480 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.983e-05/0.419, allocations: 166.6 kB / 440.2 MB, free: 312 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.4192, allocations: 166.4 kB / 440.3 MB, free: 140 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4193, allocations: 370.7 kB / 440.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.4194, allocations: 69.95 kB / 440.8 MB, free: 15.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.4198, allocations: 0.5375 MB / 441.3 MB, free: 14.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.4204, allocations: 0.6149 MB / 441.9 MB, free: 14.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.4204, allocations: 4 kB / 441.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006645/0.421, allocations: 0.5025 MB / 442.4 MB, free: 13.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.4211, allocations: 8 kB / 442.4 MB, free: 13.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.4211, allocations: 20.03 kB / 442.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.4225, allocations: 236.5 kB / 442.7 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.423, allocations: 247.7 kB / 442.9 MB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.4242, allocations: 1.794 MB / 444.7 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003977/0.4246, allocations: 28 kB / 444.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.4247, allocations: 43.92 kB / 444.8 MB, free: 11.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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.0002821/0.425, allocations: 180.4 kB / 445 MB, free: 10.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4251, allocations: 55.94 kB / 445 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.4262, allocations: 1.208 MB / 446.2 MB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.4262, allocations: 19.97 kB / 446.3 MB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.4262, allocations: 0 / 446.3 MB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.4262, allocations: 7.922 kB / 446.3 MB, free: 9.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.428, allocations: 1.467 MB / 447.7 MB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.428, allocations: 0 / 447.7 MB, free: 8.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.4284, allocations: 151.8 kB / 447.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000809/0.4292, allocations: 247.3 kB / 448.1 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/0.4293, allocations: 8 kB / 448.1 MB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4303, allocations: 1.811 MB / 449.9 MB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.4303, allocations: 0 / 449.9 MB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.4312, allocations: 1.086 MB / 451 MB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.4313, allocations: 119.2 kB / 451.1 MB, free: 4.621 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.4314, allocations: 35.88 kB / 451.2 MB, free: 4.586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.4316, allocations: 12 kB / 451.2 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.064e-05/0.4317, allocations: 36.42 kB / 451.2 MB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.4317, allocations: 11.98 kB / 451.2 MB, free: 4.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.4319, allocations: 296.5 kB / 451.5 MB, free: 4.234 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4319, allocations: 4 kB / 451.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003093/0.435, allocations: 1.088 MB / 452.6 MB, free: 3.141 MB / 410.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.004086/0.4391, allocations: 1.383 MB / 454 MB, free: 1.762 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4403, allocations: 0.4993 MB / 454.5 MB, free: 1.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.007e-05/0.4403, allocations: 12.5 kB / 454.5 MB, free: 1.254 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.4408, allocations: 323.1 kB / 454.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4419, allocations: 357.2 kB / 455.2 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.15/0.5919, allocations: 1.794 MB / 457 MB, free: 116.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5922, allocations: 236.9 kB / 457.2 MB, free: 116.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008247/0.593, allocations: 255 kB / 457.4 MB, free: 116.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006635/0.5937, allocations: 281.4 kB / 457.7 MB, free: 116.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.535e-06/0.5937, allocations: 3.469 kB / 457.7 MB, free: 116.5 MB / 410.7 MB Notification: Performance of Templates: time 0.05385/0.6475, allocations: 49.31 MB / 0.4952 GB, free: 80.72 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.310453842394054]