Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.001363/0.001363, allocations: 91.67 kB / 21.2 MB, free: 3.367 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.001524/0.001524, allocations: 160.5 kB / 24.56 MB, free: 12 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 1.025/1.025, allocations: 177 MB / 204.8 MB, free: 5.586 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.2588/0.2588, allocations: 34.86 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_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.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.51e-05/2.673e-05, allocations: 8.141 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.01626/0.01629, allocations: 16.82 MB / 395.6 MB, free: 1.18 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01355/0.02984, allocations: 13.99 MB / 409.6 MB, free: 3.137 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003619/0.0302, allocations: 31.69 kB / 409.6 MB, free: 3.105 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.03082, allocations: 242.4 kB / 409.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009112/0.03993, allocations: 4.966 MB / 414.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.04347, allocations: 1.951 MB / 416.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.04518, allocations: 2.078 MB / 418.9 MB, free: 9.844 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004741/0.04566, allocations: 457.9 kB / 419.3 MB, free: 9.383 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003292/0.04895, allocations: 2.708 MB / 422 MB, free: 6.648 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006486/0.05543, allocations: 5.456 MB / 427.5 MB, free: 1.109 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.05554, allocations: 72 kB / 427.5 MB, free: 1.039 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008896/0.06444, allocations: 6.793 MB / 434.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.06467, allocations: 307.1 kB / 434.6 MB, free: 9.938 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.06494, allocations: 331.3 kB / 435 MB, free: 9.613 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006036/0.07098, allocations: 5.64 MB / 440.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.07098, allocations: 0 / 440.6 MB, free: 3.961 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.07098, allocations: 3.938 kB / 440.6 MB, free: 3.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.071, allocations: 4 kB / 440.6 MB, free: 3.953 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.002458/0.07345, allocations: 1.669 MB / 442.3 MB, free: 2.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.07349, allocations: 8.031 kB / 442.3 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.07473, allocations: 443.1 kB / 442.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.07535, allocations: 0.5358 MB / 443.3 MB, free: 1.234 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.07546, allocations: 164.7 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.07555, allocations: 68.31 kB / 443.5 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.177/0.2526, allocations: 1.318 MB / 444.8 MB, free: 74.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.2526, allocations: 2.781 kB / 444.8 MB, free: 74.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/0.2527, allocations: 34.19 kB / 444.8 MB, free: 74.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.595e-05/0.2528, allocations: 43.62 kB / 444.9 MB, free: 74.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.2539, allocations: 499.3 kB / 445.4 MB, free: 74.02 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.003687/0.2576, allocations: 5.298 MB / 450.7 MB, free: 70.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.2584, allocations: 428.8 kB / 451.1 MB, free: 70.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.2586, allocations: 125.3 kB / 451.2 MB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05404/0.3127, allocations: 26.07 MB / 477.3 MB, free: 68.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.3127, allocations: 42.53 kB / 477.3 MB, free: 68.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 2.585e-06/0.3127, allocations: 0 / 477.3 MB, free: 68.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.003297/0.316, allocations: 1.468 MB / 478.8 MB, free: 68.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.3161, allocations: 171.3 kB / 479 MB, free: 67.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000478/0.3165, allocations: 0.5581 MB / 479.5 MB, free: 67.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.3166, allocations: 36.89 kB / 479.5 MB, free: 67.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.3169, allocations: 466.6 kB / 480 MB, free: 67.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.317, allocations: 181.1 kB / 480.2 MB, free: 67.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.3171, allocations: 166.3 kB / 480.3 MB, free: 67.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3173, allocations: 0.5439 MB / 480.9 MB, free: 66.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/0.3175, allocations: 102.9 kB / 481 MB, free: 66.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.3178, allocations: 0.6734 MB / 481.7 MB, free: 66.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005212/0.3183, allocations: 0.7397 MB / 482.4 MB, free: 65.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.3183, allocations: 3.219 kB / 482.4 MB, free: 65.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007844/0.3191, allocations: 0.6562 MB / 483.1 MB, free: 65.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3191, allocations: 13.84 kB / 483.1 MB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3191, allocations: 14.23 kB / 483.1 MB, free: 65.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002041/0.3193, allocations: 48.22 kB / 483.1 MB, free: 65.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.32, allocations: 274.8 kB / 483.4 MB, free: 65.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008336/0.3208, allocations: 2.635 MB / 486 MB, free: 62.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.3211, allocations: 34.23 kB / 486.1 MB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.3211, allocations: 44.02 kB / 486.1 MB, free: 62.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (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.0001728/0.3213, allocations: 220.2 kB / 486.3 MB, free: 62.49 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.3214, allocations: 83.55 kB / 486.4 MB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.3225, allocations: 1.419 MB / 487.8 MB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.3225, allocations: 29.62 kB / 487.9 MB, free: 62.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3225, allocations: 3.938 kB / 487.9 MB, free: 62.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3225, allocations: 2.766 kB / 487.9 MB, free: 62.17 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00184/0.3244, allocations: 2.073 MB / 489.9 MB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3244, allocations: 0.6094 kB / 489.9 MB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.3248, allocations: 181.4 kB / 490.1 MB, free: 61.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001881/0.325, allocations: 55.88 kB / 490.2 MB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.325, allocations: 21.19 kB / 490.2 MB, free: 61.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006691/0.3257, allocations: 2.615 MB / 492.8 MB, free: 59.13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3257, allocations: 0 / 492.8 MB, free: 59.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.3267, allocations: 1.313 MB / 494.1 MB, free: 58.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.3269, allocations: 162.2 kB / 494.3 MB, free: 58.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.3269, allocations: 28.59 kB / 494.3 MB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3272, allocations: 25.75 kB / 494.3 MB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.3272, allocations: 33.11 kB / 494.4 MB, free: 58.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.96e-05/0.3273, allocations: 24.06 kB / 494.4 MB, free: 58.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.3275, allocations: 422.7 kB / 494.8 MB, free: 58.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3275, allocations: 0 / 494.8 MB, free: 58.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002378/0.3299, allocations: 1.097 MB / 495.9 MB, free: 58.35 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: 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.003366/0.3333, allocations: 1.293 MB / 497.2 MB, free: 58.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.3343, allocations: 0.6003 MB / 497.8 MB, free: 58.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3343, allocations: 0 / 497.8 MB, free: 58.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005546/0.3349, allocations: 412.4 kB / 498.2 MB, free: 58.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009925/0.3359, allocations: 343.6 kB / 498.5 MB, free: 58.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.3383, allocations: 1.947 MB / 0.4887 GB, free: 56.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.3385, allocations: 254.9 kB / 0.489 GB, free: 56.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005182/0.339, allocations: 424.8 kB / 0.4894 GB, free: 56.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.3391, allocations: 59.25 kB / 0.4894 GB, free: 56.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3391, allocations: 0 / 0.4894 GB, free: 56.03 MB / 410.7 MB Notification: Performance of Templates: time 0.03708/0.3762, allocations: 45.11 MB / 0.5335 GB, free: 14.89 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 5.4552701697684824]