Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.0008753/0.0008753, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001045/0.001921, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006879/0.0006879, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008734/0.001561, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9731/0.9731, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1147/1.088, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2875/0.2875, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05377/0.3412, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.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_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 293.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.293e-05, allocations: 11.19 kB / 293.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.02445/0.02447, allocations: 16.84 MB / 310.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.03875, allocations: 14.07 MB / 324.8 MB, free: 6.148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.03925, allocations: 27.75 kB / 324.8 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004831/0.03973, allocations: 254.3 kB / 325.1 MB, free: 5.871 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008865/0.0486, allocations: 4.515 MB / 329.6 MB, free: 1.336 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003373/0.05197, allocations: 1.866 MB / 331.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002372/0.05434, allocations: 2.066 MB / 333.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007648/0.05511, allocations: 449.9 kB / 334 MB, free: 12.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/0.06638, allocations: 6.237 MB / 340.2 MB, free: 6.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.06986, allocations: 1.794 MB / 342 MB, free: 4.836 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.07006, allocations: 64 kB / 342 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01139/0.08145, allocations: 7.241 MB / 349.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003749/0.08182, allocations: 247.2 kB / 349.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.08239, allocations: 259.6 kB / 349.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.09252, allocations: 4.319 MB / 354.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.09254, allocations: 0 / 354.1 MB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.128e-06/0.09254, allocations: 3.984 kB / 354.1 MB, free: 8.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.33e-05/0.09257, allocations: 0 / 354.1 MB, free: 8.699 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.004149/0.09672, allocations: 2.014 MB / 356.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.09676, allocations: 8.031 kB / 356.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.09811, allocations: 375.7 kB / 356.5 MB, free: 6.262 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.09884, allocations: 435.3 kB / 356.9 MB, free: 5.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.09895, allocations: 164.7 kB / 357.1 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.084e-05/0.09904, allocations: 60.38 kB / 357.1 MB, free: 5.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.1003, allocations: 1.061 MB / 358.2 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.1003, allocations: 7.875 kB / 358.2 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.13e-05/0.1004, allocations: 35.94 kB / 358.2 MB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/0.1004, allocations: 36.98 kB / 358.3 MB, free: 4.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007775/0.1012, allocations: 401 kB / 358.7 MB, free: 3.859 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.003287/0.1045, allocations: 3.802 MB / 362.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.1052, allocations: 342.3 kB / 362.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.1053, allocations: 83.05 kB / 362.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1158/0.2212, allocations: 67.32 MB / 430.2 MB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.617e-05/0.2212, allocations: 42.5 kB / 430.3 MB, free: 12.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.236e-06/0.2212, allocations: 0 / 430.3 MB, free: 12.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.003343/0.2246, allocations: 1.255 MB / 431.5 MB, free: 10.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.2246, allocations: 110.8 kB / 431.6 MB, free: 10.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.225, allocations: 0.4948 MB / 432.1 MB, free: 10.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.225, allocations: 37.7 kB / 432.1 MB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.2252, allocations: 376.8 kB / 432.5 MB, free: 9.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/0.2253, allocations: 170.5 kB / 432.7 MB, free: 9.488 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.2254, allocations: 158.5 kB / 432.8 MB, free: 9.328 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2255, allocations: 374.6 kB / 433.2 MB, free: 8.953 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2256, allocations: 69.91 kB / 433.3 MB, free: 8.887 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.226, allocations: 0.5421 MB / 433.8 MB, free: 8.141 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.2265, allocations: 0.6097 MB / 434.4 MB, free: 7.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.2265, allocations: 4 kB / 434.4 MB, free: 7.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0005791/0.2271, allocations: 0.5018 MB / 434.9 MB, free: 6.844 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.2271, allocations: 10.5 kB / 434.9 MB, free: 6.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.2272, allocations: 16.88 kB / 435 MB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/0.2285, allocations: 244.4 kB / 435.2 MB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006371/0.2292, allocations: 275.7 kB / 435.5 MB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009892/0.2302, allocations: 1.798 MB / 437.3 MB, free: 4.391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/0.2305, allocations: 35.94 kB / 437.3 MB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.682e-05/0.2305, allocations: 32 kB / 437.3 MB, free: 4.324 MB / 426.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.0001975/0.2307, allocations: 184.4 kB / 437.5 MB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.351e-05/0.2308, allocations: 51.95 kB / 437.6 MB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009635/0.2317, allocations: 1.215 MB / 438.8 MB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.2318, allocations: 23.97 kB / 438.8 MB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.2318, allocations: 0 / 438.8 MB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.2318, allocations: 11.92 kB / 438.8 MB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001438/0.2332, allocations: 1.453 MB / 440.3 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2332, allocations: 0 / 440.3 MB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.2336, allocations: 171.8 kB / 440.4 MB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.2338, allocations: 111.1 kB / 440.5 MB, free: 1.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007022/0.2345, allocations: 267 kB / 440.8 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.2345, allocations: 4 kB / 440.8 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1664/0.4009, allocations: 1.781 MB / 442.6 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4009, allocations: 1.656 kB / 442.6 MB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.402, allocations: 1.094 MB / 443.7 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.4021, allocations: 34.95 kB / 443.7 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.4024, allocations: 13.34 kB / 443.7 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.4024, allocations: 32.02 kB / 443.8 MB, free: 106.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.4024, allocations: 12.25 kB / 443.8 MB, free: 106.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.4027, allocations: 290.3 kB / 444.1 MB, free: 106.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4027, allocations: 0 / 444.1 MB, free: 106.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002297/0.405, allocations: 1.099 MB / 445.2 MB, free: 106.9 MB / 426.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.003024/0.408, allocations: 1.392 MB / 446.5 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008213/0.4088, allocations: 0.5096 MB / 447.1 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.742e-05/0.4088, allocations: 16.31 kB / 447.1 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003965/0.4092, allocations: 323.2 kB / 447.4 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009398/0.4102, allocations: 436.1 kB / 447.8 MB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.4218, allocations: 1.854 MB / 449.7 MB, free: 106 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.422, allocations: 238.5 kB / 449.9 MB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000649/0.4226, allocations: 257.4 kB / 450.2 MB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005602/0.4232, allocations: 291.9 kB / 450.4 MB, free: 105.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.4232, allocations: 0 / 450.4 MB, free: 105.9 MB / 426.7 MB Notification: Performance of Templates: time 0.05519/0.4784, allocations: 50.13 MB / 0.4888 GB, free: 65.91 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.949900144711137]