Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.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.001055/0.001055, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.0009714/0.0009714, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9396/0.9396, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1259/0.1259, allocations: 32.39 MB / 270.4 MB, free: 14.8 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.543e-05/1.689e-05, allocations: 2.312 kB / 347.7 MB, free: 9.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01314/0.01316, allocations: 16.7 MB / 364.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.02627, allocations: 13.98 MB / 378.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004821/0.02675, allocations: 27.75 kB / 378.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.02736, allocations: 258.2 kB / 378.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009545/0.03691, allocations: 4.937 MB / 383.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004286/0.0412, allocations: 1.951 MB / 385.6 MB, free: 3.426 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002167/0.04336, allocations: 2.074 MB / 387.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008855/0.04425, allocations: 469.9 kB / 388.1 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009696/0.05394, allocations: 7.646 MB / 395.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002602/0.05655, allocations: 2.182 MB / 397.9 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.05668, allocations: 72 kB / 398 MB, free: 6.828 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009779/0.06645, allocations: 6.777 MB / 404.8 MB, free: 44 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.06672, allocations: 311.1 kB / 405.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.06703, allocations: 331.3 kB / 405.4 MB, free: 15.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00873/0.07576, allocations: 5.62 MB / 411 MB, free: 9.781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.07577, allocations: 0 / 411 MB, free: 9.781 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.07577, allocations: 0 / 411 MB, free: 9.781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.07578, allocations: 0 / 411 MB, free: 9.781 MB / 346.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.003248/0.07903, allocations: 1.661 MB / 412.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.07906, allocations: 11.97 kB / 412.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.08024, allocations: 439.1 kB / 413.1 MB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/0.08083, allocations: 0.5514 MB / 413.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.08093, allocations: 160.7 kB / 413.8 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.027e-05/0.08101, allocations: 64.36 kB / 413.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.08263, allocations: 1.332 MB / 415.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.08265, allocations: 11.81 kB / 415.2 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/0.0827, allocations: 31.98 kB / 415.3 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/0.08274, allocations: 45.3 kB / 415.3 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007216/0.08346, allocations: 495 kB / 415.8 MB, free: 4.688 MB / 346.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.003334/0.08679, allocations: 5.297 MB / 421.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.08774, allocations: 434.8 kB / 421.5 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001454/0.08788, allocations: 119.3 kB / 421.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1895/0.2774, allocations: 25.11 MB / 446.7 MB, free: 67.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.2774, allocations: 52.33 kB / 446.8 MB, free: 67.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.2774, allocations: 0 / 446.8 MB, free: 67.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002727/0.2802, allocations: 1.47 MB / 448.3 MB, free: 67.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2802, allocations: 157.9 kB / 448.4 MB, free: 67.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003755/0.2806, allocations: 0.5718 MB / 449 MB, free: 66.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.2806, allocations: 31.55 kB / 449 MB, free: 66.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.2808, allocations: 470 kB / 449.5 MB, free: 66.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.119e-05/0.2808, allocations: 185.1 kB / 449.6 MB, free: 66.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.281, allocations: 170 kB / 449.8 MB, free: 66.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.2811, allocations: 0.5483 MB / 450.4 MB, free: 66.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2812, allocations: 107 kB / 450.5 MB, free: 66.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.2815, allocations: 0.6983 MB / 451.2 MB, free: 65.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004553/0.282, allocations: 0.7765 MB / 451.9 MB, free: 64.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.282, allocations: 3.531 kB / 451.9 MB, free: 64.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006528/0.2826, allocations: 0.6769 MB / 452.6 MB, free: 64.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2826, allocations: 14.72 kB / 452.6 MB, free: 64.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.2827, allocations: 12.25 kB / 452.7 MB, free: 64.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001789/0.2828, allocations: 46.91 kB / 452.7 MB, free: 64.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.2834, allocations: 280.9 kB / 453 MB, free: 64.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007289/0.2841, allocations: 2.64 MB / 455.6 MB, free: 61.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.2843, allocations: 28.84 kB / 455.6 MB, free: 61.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.2844, allocations: 41.31 kB / 455.7 MB, free: 61.86 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.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/0.2846, allocations: 233.9 kB / 455.9 MB, free: 61.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.093e-05/0.2846, allocations: 86.39 kB / 456 MB, free: 61.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.2857, allocations: 1.419 MB / 457.4 MB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.2857, allocations: 28.36 kB / 457.4 MB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2857, allocations: 2.406 kB / 457.4 MB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2858, allocations: 3.75 kB / 457.4 MB, free: 61.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.2873, allocations: 2.066 MB / 459.5 MB, free: 60.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2873, allocations: 0 / 459.5 MB, free: 60.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.2877, allocations: 182.9 kB / 459.7 MB, free: 60.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001832/0.2879, allocations: 59.16 kB / 459.7 MB, free: 60.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.636e-05/0.2879, allocations: 15.31 kB / 459.8 MB, free: 60.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007012/0.2886, allocations: 2.61 MB / 462.4 MB, free: 57.66 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2886, allocations: 0 / 462.4 MB, free: 57.66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.2895, allocations: 1.318 MB / 463.7 MB, free: 56.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.2896, allocations: 172.1 kB / 463.9 MB, free: 56.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.2897, allocations: 19.5 kB / 463.9 MB, free: 56.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.2898, allocations: 23.59 kB / 463.9 MB, free: 56.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.2899, allocations: 42.36 kB / 463.9 MB, free: 56.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.2899, allocations: 23.7 kB / 464 MB, free: 56.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000243/0.2902, allocations: 418.9 kB / 464.4 MB, free: 56.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2902, allocations: 0 / 464.4 MB, free: 56.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001991/0.2922, allocations: 1.094 MB / 465.5 MB, free: 55.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002481/0.2946, allocations: 1.3 MB / 466.8 MB, free: 54.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.2955, allocations: 0.5992 MB / 467.4 MB, free: 53.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2955, allocations: 5.969 kB / 467.4 MB, free: 53.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.2959, allocations: 412 kB / 467.8 MB, free: 53.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.2967, allocations: 360 kB / 468.1 MB, free: 53.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.2987, allocations: 1.945 MB / 470.1 MB, free: 51.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001178/0.2988, allocations: 248.4 kB / 470.3 MB, free: 51.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004077/0.2993, allocations: 427.5 kB / 470.7 MB, free: 50.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.858e-05/0.2993, allocations: 64.25 kB / 470.8 MB, free: 50.92 MB / 362.7 MB Notification: Performance of SimCode: time 9.61e-07/0.2993, allocations: 0 / 470.8 MB, free: 50.92 MB / 362.7 MB Notification: Performance of Templates: time 0.03937/0.3387, allocations: 51.75 MB / 0.5103 GB, free: 15.95 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.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: 6.086064439732581]