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.001021/0.001021, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001027/0.001027, allocations: 161.9 kB / 24.82 MB, free: 8.922 MB / 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.9766/0.9766, allocations: 177 MB / 205.1 MB, free: 5.449 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.2686/0.2686, allocations: 34.87 MB / 296.6 MB, free: 0.5 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_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.593e-06/1.593e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.703e-05/1.863e-05, allocations: 4.562 kB / 379.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0157/0.01572, allocations: 16.63 MB / 395.9 MB, free: 1.137 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01365/0.02937, allocations: 13.78 MB / 409.7 MB, free: 3.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004851/0.02986, allocations: 27.75 kB / 409.7 MB, free: 3.281 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.03044, allocations: 246.3 kB / 409.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00947/0.03992, allocations: 4.968 MB / 414.9 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003866/0.04378, allocations: 1.943 MB / 416.8 MB, free: 12.1 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002251/0.04603, allocations: 2.047 MB / 418.9 MB, free: 10.05 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008027/0.04684, allocations: 431.4 kB / 419.3 MB, free: 9.617 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009417/0.05625, allocations: 7.638 MB / 426.9 MB, free: 1.871 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.0585, allocations: 2.19 MB / 429.1 MB, free: 15.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.296e-05/0.05858, allocations: 64 kB / 429.2 MB, free: 15.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009681/0.06826, allocations: 6.754 MB / 435.9 MB, free: 8.828 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.0685, allocations: 291.1 kB / 436.2 MB, free: 8.543 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.06881, allocations: 323.3 kB / 436.5 MB, free: 8.227 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008394/0.0772, allocations: 5.577 MB / 442.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.07721, allocations: 0 / 442.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.07722, allocations: 0 / 442.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.07723, allocations: 0 / 442.1 MB, free: 2.637 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.003015/0.08024, allocations: 1.649 MB / 443.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.08028, allocations: 8.031 kB / 443.8 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009178/0.0812, allocations: 359.4 kB / 444.1 MB, free: 0.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.08179, allocations: 0.5162 MB / 444.6 MB, free: 40 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1736/0.2554, allocations: 159.5 kB / 444.8 MB, free: 74.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.2556, allocations: 61.91 kB / 444.9 MB, free: 74.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.257, allocations: 1.128 MB / 446 MB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.257, allocations: 9.984 kB / 446 MB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.2571, allocations: 28.61 kB / 446 MB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.2571, allocations: 46.81 kB / 446.1 MB, free: 74.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008982/0.258, allocations: 417.5 kB / 446.5 MB, free: 74.13 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.003496/0.2615, allocations: 5.457 MB / 451.9 MB, free: 69.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005426/0.2621, allocations: 384.5 kB / 452.3 MB, free: 69.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.503e-05/0.2622, allocations: 98.95 kB / 452.4 MB, free: 69.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03739/0.2995, allocations: 22.76 MB / 475.2 MB, free: 68.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.713e-05/0.2996, allocations: 44.67 kB / 475.2 MB, free: 68.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/0.2996, allocations: 0 / 475.2 MB, free: 68.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003407/0.303, allocations: 1.324 MB / 476.5 MB, free: 68.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.3031, allocations: 190 kB / 476.7 MB, free: 67.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.3035, allocations: 0.5782 MB / 477.3 MB, free: 67.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.3035, allocations: 32.2 kB / 477.3 MB, free: 67.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.3037, allocations: 483.9 kB / 477.8 MB, free: 67.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.3037, allocations: 175.9 kB / 478 MB, free: 67.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/0.3039, allocations: 178.1 kB / 478.1 MB, free: 67.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.304, allocations: 0.5597 MB / 478.7 MB, free: 66.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3041, allocations: 77.22 kB / 478.8 MB, free: 66.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.3044, allocations: 0.7057 MB / 479.5 MB, free: 66.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000518/0.3049, allocations: 0.7721 MB / 480.3 MB, free: 65.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.3049, allocations: 2.75 kB / 480.3 MB, free: 65.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007803/0.3057, allocations: 0.6526 MB / 480.9 MB, free: 65.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3057, allocations: 10.47 kB / 480.9 MB, free: 65.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/0.3058, allocations: 12.72 kB / 480.9 MB, free: 65.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.3072, allocations: 263.5 kB / 481.2 MB, free: 65.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/0.3078, allocations: 255.8 kB / 481.4 MB, free: 65.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04298/0.3508, allocations: 21.81 MB / 0.4915 GB, free: 53.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005465/0.3513, allocations: 30.75 kB / 0.4915 GB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3514, allocations: 39.34 kB / 0.4915 GB, free: 53.55 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.3517, allocations: 224.9 kB / 0.4917 GB, free: 53.37 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.3518, allocations: 89.98 kB / 0.4918 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.3528, allocations: 1.17 MB / 0.493 GB, free: 52.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.3528, allocations: 24.3 kB / 0.493 GB, free: 52.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3528, allocations: 7.938 kB / 0.493 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3528, allocations: 2.859 kB / 0.493 GB, free: 52.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.3542, allocations: 1.675 MB / 0.4946 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3542, allocations: 0 / 0.4946 GB, free: 51.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003559/0.3546, allocations: 154.6 kB / 0.4948 GB, free: 51.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007804/0.3554, allocations: 329.6 kB / 0.4951 GB, free: 50.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.3554, allocations: 7.875 kB / 0.4951 GB, free: 50.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.3568, allocations: 3.654 MB / 0.4987 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3568, allocations: 4 kB / 0.4987 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008763/0.3577, allocations: 1.239 MB / 0.4999 GB, free: 46.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.3579, allocations: 142.8 kB / 0.5 GB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.21e-05/0.3579, allocations: 30.91 kB / 0.5001 GB, free: 45.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3581, allocations: 14.75 kB / 0.5001 GB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.3582, allocations: 36.3 kB / 0.5001 GB, free: 45.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.3582, allocations: 15.09 kB / 0.5001 GB, free: 45.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002336/0.3584, allocations: 427.7 kB / 0.5005 GB, free: 45.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3584, allocations: 4 kB / 0.5005 GB, free: 45.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002609/0.361, allocations: 1.102 MB / 0.5016 GB, free: 44.55 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 ($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 (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002682/0.3637, allocations: 1.341 MB / 0.5029 GB, free: 43.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.3647, allocations: 0.7504 MB / 0.5037 GB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3647, allocations: 0 / 0.5037 GB, free: 42.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004554/0.3652, allocations: 0.5006 MB / 0.5041 GB, free: 42.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/0.3661, allocations: 351.8 kB / 0.5045 GB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3681, allocations: 1.822 MB / 0.5063 GB, free: 40.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.3683, allocations: 254 kB / 0.5065 GB, free: 40.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.3687, allocations: 256.5 kB / 0.5067 GB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004034/0.3691, allocations: 348 kB / 0.5071 GB, free: 40.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3691, allocations: 0 / 0.5071 GB, free: 40.03 MB / 410.7 MB Notification: Performance of Templates: time 0.0479/0.417, allocations: 51.42 MB / 0.5573 GB, free: 6.809 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 -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: 5.225687158294022]