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.0009827/0.0009827, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.000932/0.000932, allocations: 160.5 kB / 24.55 MB, free: 20 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.9591/0.9591, allocations: 177 MB / 204.8 MB, free: 5.582 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.2636/0.2636, allocations: 34.87 MB / 296.3 MB, free: 0.5273 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.553e-06/1.553e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.759e-05, allocations: 4.281 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01432/0.01434, allocations: 16.83 MB / 395.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.027, allocations: 13.98 MB / 409.6 MB, free: 3.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006485/0.02765, allocations: 31.69 kB / 409.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007197/0.02837, allocations: 242.4 kB / 409.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.03844, allocations: 4.966 MB / 414.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003825/0.04227, allocations: 1.947 MB / 416.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002248/0.04452, allocations: 2.039 MB / 418.8 MB, free: 9.887 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007424/0.04526, allocations: 449.9 kB / 419.3 MB, free: 9.434 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004243/0.0495, allocations: 2.673 MB / 421.9 MB, free: 6.734 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006933/0.05643, allocations: 5.452 MB / 427.4 MB, free: 1.199 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.05662, allocations: 64 kB / 427.4 MB, free: 1.137 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009122/0.06574, allocations: 6.758 MB / 434.2 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.06611, allocations: 295.1 kB / 434.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005156/0.06662, allocations: 323.3 kB / 434.8 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.07665, allocations: 5.589 MB / 440.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.07666, allocations: 0 / 440.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.07666, allocations: 0 / 440.4 MB, free: 4.164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.07667, allocations: 0 / 440.4 MB, free: 4.164 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.003584/0.08026, allocations: 1.657 MB / 442 MB, free: 2.461 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.0803, allocations: 8.031 kB / 442.1 MB, free: 2.453 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.08134, allocations: 363.4 kB / 442.4 MB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.08202, allocations: 0.5124 MB / 442.9 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.08215, allocations: 168.6 kB / 443.1 MB, free: 1.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.541e-05/0.08223, allocations: 64.38 kB / 443.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1758/0.258, allocations: 1.194 MB / 444.3 MB, free: 73.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.664e-05/0.258, allocations: 5.562 kB / 444.3 MB, free: 73.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.2582, allocations: 30.81 kB / 444.4 MB, free: 73.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.475e-05/0.2583, allocations: 40.84 kB / 444.4 MB, free: 73.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.2597, allocations: 492 kB / 444.9 MB, free: 73.91 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.004628/0.2644, allocations: 5.608 MB / 450.5 MB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009724/0.2653, allocations: 408.2 kB / 450.9 MB, free: 69.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.2656, allocations: 116.1 kB / 451 MB, free: 69.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05315/0.3187, allocations: 26.13 MB / 477.2 MB, free: 67.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.3188, allocations: 42 kB / 477.2 MB, free: 67.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.375e-06/0.3188, allocations: 0 / 477.2 MB, free: 67.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003914/0.3227, allocations: 1.662 MB / 478.9 MB, free: 67.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.3227, allocations: 188.8 kB / 479 MB, free: 67.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.3233, allocations: 0.5707 MB / 479.6 MB, free: 66.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.3233, allocations: 35.36 kB / 479.6 MB, free: 66.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.3235, allocations: 466 kB / 480.1 MB, free: 66.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-05/0.3236, allocations: 172.4 kB / 480.3 MB, free: 66.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3237, allocations: 173.7 kB / 480.4 MB, free: 66.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3238, allocations: 0.5502 MB / 481 MB, free: 66.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.324, allocations: 96.03 kB / 481.1 MB, free: 66.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003532/0.3244, allocations: 0.6958 MB / 481.8 MB, free: 65.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.3249, allocations: 0.7656 MB / 482.5 MB, free: 64.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3249, allocations: 3.25 kB / 482.5 MB, free: 64.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007785/0.3257, allocations: 0.6643 MB / 483.2 MB, free: 64.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3257, allocations: 12.64 kB / 483.2 MB, free: 64.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.3258, allocations: 17.94 kB / 483.2 MB, free: 64.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/0.3273, allocations: 249.6 kB / 483.5 MB, free: 64.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.3279, allocations: 273 kB / 483.8 MB, free: 64.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001088/0.329, allocations: 2.66 MB / 486.4 MB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.3293, allocations: 29.72 kB / 486.4 MB, free: 61.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3294, allocations: 42.22 kB / 486.5 MB, free: 61.95 MB / 410.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.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * 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.0002125/0.3296, allocations: 222.9 kB / 486.7 MB, free: 61.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3297, allocations: 80.95 kB / 486.8 MB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.3308, allocations: 1.269 MB / 488 MB, free: 61.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.3308, allocations: 27.34 kB / 488.1 MB, free: 61.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3308, allocations: 5.469 kB / 488.1 MB, free: 61.51 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3308, allocations: 6.172 kB / 488.1 MB, free: 61.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.3326, allocations: 1.869 MB / 490 MB, free: 61.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3326, allocations: 0 / 490 MB, free: 61.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.333, allocations: 182.4 kB / 490.1 MB, free: 61.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/0.3338, allocations: 245.8 kB / 490.4 MB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.3339, allocations: 10.97 kB / 490.4 MB, free: 61.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007189/0.3346, allocations: 2.647 MB / 493 MB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3346, allocations: 0 / 493 MB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/0.3355, allocations: 1.316 MB / 494.3 MB, free: 57.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.3357, allocations: 142.6 kB / 494.5 MB, free: 57.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.116e-05/0.3357, allocations: 32.94 kB / 494.5 MB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3359, allocations: 14.5 kB / 494.5 MB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.336, allocations: 33.44 kB / 494.6 MB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.336, allocations: 17.47 kB / 494.6 MB, free: 57.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003349/0.3364, allocations: 460.7 kB / 495 MB, free: 57.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3364, allocations: 0 / 495 MB, free: 57.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002382/0.3387, allocations: 1.095 MB / 496.1 MB, free: 57.62 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.003192/0.3419, allocations: 1.3 MB / 497.4 MB, free: 57.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.343, allocations: 0.5959 MB / 498 MB, free: 57.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.343, allocations: 6.25 kB / 498 MB, free: 57.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.3436, allocations: 399.3 kB / 498.4 MB, free: 57.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.3446, allocations: 345.3 kB / 498.8 MB, free: 57.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.3469, allocations: 1.847 MB / 0.4889 GB, free: 55.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.347, allocations: 238 kB / 0.4891 GB, free: 55.72 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004617/0.3475, allocations: 322.5 kB / 0.4894 GB, free: 55.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.3476, allocations: 63.62 kB / 0.4895 GB, free: 55.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3476, allocations: 0 / 0.4895 GB, free: 55.48 MB / 410.7 MB Notification: Performance of Templates: time 0.04212/0.3897, allocations: 44.55 MB / 0.533 GB, free: 14.84 MB / 410.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.105735006742179]