Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.001038/0.001038, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.000963/0.000963, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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 0.9812/0.9812, allocations: 177 MB / 204.8 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 179] 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.2943/0.2943, allocations: 34.86 MB / 296.3 MB, free: 0.5547 MB / 266.7 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.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 4 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.299e-05/3.644e-05, allocations: 3.016 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.02201/0.02205, allocations: 16.83 MB / 395.6 MB, free: 1.172 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02266/0.04471, allocations: 13.98 MB / 409.6 MB, free: 3.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009154/0.04563, allocations: 27.75 kB / 409.6 MB, free: 3.109 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000916/0.04654, allocations: 258.3 kB / 409.9 MB, free: 2.855 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0166/0.06314, allocations: 4.957 MB / 414.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006542/0.06968, allocations: 1.951 MB / 416.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003438/0.07312, allocations: 2.062 MB / 418.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009967/0.07412, allocations: 446 kB / 419.3 MB, free: 9.406 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007084/0.0812, allocations: 2.7 MB / 422 MB, free: 6.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009449/0.09065, allocations: 5.464 MB / 427.4 MB, free: 1.133 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.09086, allocations: 71.98 kB / 427.5 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009455/0.1003, allocations: 6.789 MB / 434.3 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.1006, allocations: 307.1 kB / 434.6 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004304/0.101, allocations: 327.3 kB / 434.9 MB, free: 9.645 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006367/0.1074, allocations: 5.632 MB / 440.6 MB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.1074, allocations: 0 / 440.6 MB, free: 4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1074, allocations: 0 / 440.6 MB, free: 4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1074, allocations: 4 kB / 440.6 MB, free: 3.996 MB / 410.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.002384/0.1098, allocations: 1.677 MB / 442.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1099, allocations: 12.03 kB / 442.2 MB, free: 2.262 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.1111, allocations: 451.1 kB / 442.7 MB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1117, allocations: 0.5318 MB / 443.2 MB, free: 1.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.1118, allocations: 168.7 kB / 443.4 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.1119, allocations: 64.38 kB / 443.4 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1649/0.2768, allocations: 1.323 MB / 444.8 MB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/0.2768, allocations: 6.781 kB / 444.8 MB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/0.2769, allocations: 26.81 kB / 444.8 MB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.068e-05/0.277, allocations: 46.67 kB / 444.8 MB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2782, allocations: 0.6224 MB / 445.5 MB, free: 73.9 MB / 410.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.003296/0.2815, allocations: 5.368 MB / 450.8 MB, free: 70.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.2826, allocations: 0.5753 MB / 451.4 MB, free: 69.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.2828, allocations: 140.4 kB / 451.6 MB, free: 69.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/0.2976, allocations: 8.702 MB / 460.3 MB, free: 69.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/0.2976, allocations: 47.95 kB / 460.3 MB, free: 69.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.645e-06/0.2977, allocations: 3.219 kB / 460.3 MB, free: 69.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.003243/0.3009, allocations: 1.699 MB / 462 MB, free: 69.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3009, allocations: 161.2 kB / 462.2 MB, free: 68.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.3013, allocations: 0.5547 MB / 462.7 MB, free: 68.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3014, allocations: 35.98 kB / 462.7 MB, free: 68.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3015, allocations: 466.6 kB / 463.2 MB, free: 68.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.564e-05/0.3016, allocations: 181.3 kB / 463.4 MB, free: 68.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.3017, allocations: 168.8 kB / 463.5 MB, free: 68.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.965e-05/0.3018, allocations: 0.5442 MB / 464.1 MB, free: 67.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.302, allocations: 134.9 kB / 464.2 MB, free: 67.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003073/0.3023, allocations: 0.6841 MB / 464.9 MB, free: 67.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.3029, allocations: 0.7702 MB / 465.7 MB, free: 66.51 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3029, allocations: 7.125 kB / 465.7 MB, free: 66.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007928/0.3037, allocations: 0.712 MB / 466.4 MB, free: 66.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.3037, allocations: 11.31 kB / 466.4 MB, free: 66.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3037, allocations: 8.375 kB / 466.4 MB, free: 66.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.3039, allocations: 45.84 kB / 466.5 MB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006193/0.3045, allocations: 289.2 kB / 466.7 MB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008301/0.3053, allocations: 2.648 MB / 469.4 MB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.3057, allocations: 36.7 kB / 469.4 MB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.3057, allocations: 41.12 kB / 469.5 MB, free: 63.76 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].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 (95): * Single equations (assignments): 93 * 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.0001916/0.3059, allocations: 217.8 kB / 469.7 MB, free: 63.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.306, allocations: 83.16 kB / 469.8 MB, free: 63.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3072, allocations: 1.665 MB / 471.4 MB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.3073, allocations: 37.56 kB / 471.5 MB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.3073, allocations: 0 / 471.5 MB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3073, allocations: 3.375 kB / 471.5 MB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.3093, allocations: 2.331 MB / 473.8 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3093, allocations: 0 / 473.8 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.3098, allocations: 210.7 kB / 474 MB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/0.31, allocations: 51.92 kB / 474.1 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.31, allocations: 14.34 kB / 474.1 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006636/0.3107, allocations: 2.62 MB / 476.7 MB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3107, allocations: 3.375 kB / 476.7 MB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.3119, allocations: 1.472 MB / 478.2 MB, free: 59.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002443/0.3121, allocations: 177.9 kB / 478.3 MB, free: 59.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.3122, allocations: 38 kB / 478.4 MB, free: 59.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3124, allocations: 26.09 kB / 478.4 MB, free: 59.67 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.444e-05/0.3125, allocations: 54.11 kB / 478.5 MB, free: 59.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.3126, allocations: 16.97 kB / 478.5 MB, free: 59.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003768/0.3129, allocations: 462.8 kB / 478.9 MB, free: 59.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3129, allocations: 0 / 478.9 MB, free: 59.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002757/0.3157, allocations: 1.099 MB / 480 MB, free: 59.5 MB / 410.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: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003353/0.3191, allocations: 1.298 MB / 481.3 MB, free: 59.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/0.3204, allocations: 0.6782 MB / 482 MB, free: 59.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3205, allocations: 1.156 kB / 482 MB, free: 59.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007221/0.3212, allocations: 478.4 kB / 482.5 MB, free: 59.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3223, allocations: 378.2 kB / 482.8 MB, free: 59.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.3253, allocations: 2.136 MB / 485 MB, free: 58.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/0.3255, allocations: 279 kB / 485.2 MB, free: 58.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006038/0.3261, allocations: 408.6 kB / 485.6 MB, free: 58.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3262, allocations: 65.94 kB / 485.7 MB, free: 58.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3262, allocations: 0 / 485.7 MB, free: 58.16 MB / 410.7 MB Notification: Performance of Templates: time 0.04211/0.3683, allocations: 46.21 MB / 0.5194 GB, free: 28.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_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: 5.515826000832021]