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.001579/0.001579, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 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.001731/0.001731, allocations: 159.1 kB / 24.49 MB, free: 3.453 MB / 14.72 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.461/1.461, allocations: 177.1 MB / 204.7 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 178] 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.219/0.219, allocations: 34.26 MB / 295.4 MB, free: 14.51 MB / 286.1 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 0.002519/0.002519, allocations: 79.88 kB / 443.2 MB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2977, allocations: 66.05 MB / 0.4973 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.02954/0.3272, allocations: 35.88 MB / 0.5323 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02407/0.3513, allocations: 18.05 MB / 0.55 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.3523, allocations: 28.06 kB / 0.55 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.3538, allocations: 409.8 kB / 0.5504 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01587/0.3697, allocations: 5.124 MB / 0.5554 GB, free: 6.355 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008207/0.3779, allocations: 2.541 MB / 0.5579 GB, free: 4.477 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003362/0.3812, allocations: 2.009 MB / 0.5598 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007931/0.382, allocations: 431.1 kB / 0.5602 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.3949, allocations: 4.198 MB / 0.5643 GB, free: 420 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01313/0.408, allocations: 5.483 MB / 0.5697 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002639/0.4083, allocations: 75.98 kB / 0.5698 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.4236, allocations: 7.044 MB / 0.5766 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005359/0.4242, allocations: 287.1 kB / 0.5769 GB, free: 3.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007388/0.4249, allocations: 386.4 kB / 0.5773 GB, free: 3.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.4369, allocations: 5.124 MB / 0.5823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.4369, allocations: 0 / 0.5823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4369, allocations: 0 / 0.5823 GB, free: 14.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.4369, allocations: 0 / 0.5823 GB, free: 14.41 MB / 494.1 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.004421/0.4413, allocations: 1.639 MB / 0.5839 GB, free: 12.74 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4414, allocations: 11.97 kB / 0.5839 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00233/0.4437, allocations: 312.2 kB / 0.5842 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.4448, allocations: 0.5181 MB / 0.5847 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.445, allocations: 168.7 kB / 0.5849 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4451, allocations: 60.11 kB / 0.5849 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.4479, allocations: 1.484 MB / 0.5864 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.4479, allocations: 3.938 kB / 0.5864 GB, free: 9.961 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.448, allocations: 35.98 kB / 0.5864 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.4481, allocations: 45.28 kB / 0.5864 GB, free: 9.883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4499, allocations: 0.8323 MB / 0.5873 GB, free: 9.051 MB / 494.1 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.00647/0.4564, allocations: 4.35 MB / 0.5915 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.4577, allocations: 0.5596 MB / 0.5921 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.4581, allocations: 225.5 kB / 0.5923 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09598/0.5541, allocations: 26.04 MB / 0.6177 GB, free: 9.688 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/0.5541, allocations: 42.5 kB / 0.6177 GB, free: 9.637 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=42): time 2.374e-06/0.5541, allocations: 0 / 0.6177 GB, free: 9.637 MB / 0.5138 GB Notification: Performance of matching and sorting (n=46): time 0.005515/0.5596, allocations: 1.859 MB / 0.6195 GB, free: 7.734 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.5597, allocations: 162.2 kB / 0.6197 GB, free: 7.539 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007104/0.5604, allocations: 0.5533 MB / 0.6202 GB, free: 6.98 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.5605, allocations: 37.64 kB / 0.6203 GB, free: 6.938 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.5608, allocations: 416 kB / 0.6207 GB, free: 6.523 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.561, allocations: 182.5 kB / 0.6208 GB, free: 6.344 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.5612, allocations: 158.6 kB / 0.621 GB, free: 6.184 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001851/0.5614, allocations: 370.8 kB / 0.6214 GB, free: 5.812 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.5618, allocations: 225.9 kB / 0.6216 GB, free: 5.594 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007508/0.5626, allocations: 0.6435 MB / 0.6222 GB, free: 4.77 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.5637, allocations: 0.838 MB / 0.623 GB, free: 3.773 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5637, allocations: 4 kB / 0.623 GB, free: 3.77 MB / 0.5138 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00162/0.5653, allocations: 0.8648 MB / 0.6239 GB, free: 2.898 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.5654, allocations: 12 kB / 0.6239 GB, free: 2.887 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.5654, allocations: 8 kB / 0.6239 GB, free: 2.879 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002882/0.5657, allocations: 61.61 kB / 0.6239 GB, free: 2.816 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.5669, allocations: 291.6 kB / 0.6242 GB, free: 2.531 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.5686, allocations: 1.948 MB / 0.6261 GB, free: 464 kB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004636/0.5691, allocations: 36.05 kB / 0.6262 GB, free: 428 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/0.5692, allocations: 40 kB / 0.6262 GB, free: 388 kB / 0.5138 GB 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.0004519/0.5696, allocations: 269.4 kB / 0.6265 GB, free: 108 kB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.5698, allocations: 67.58 kB / 0.6265 GB, free: 40 kB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.5728, allocations: 2.312 MB / 0.6288 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.5728, allocations: 35.98 kB / 0.6288 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5728, allocations: 0 / 0.6288 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.5728, allocations: 3.984 kB / 0.6288 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.5767, allocations: 3.104 MB / 0.6318 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5767, allocations: 3.938 kB / 0.6318 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009888/0.5777, allocations: 191.7 kB / 0.632 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003481/0.5781, allocations: 84.78 kB / 0.6321 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.5781, allocations: 12 kB / 0.6321 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.5797, allocations: 1.979 MB / 0.6341 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5797, allocations: 4.031 kB / 0.6341 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.5823, allocations: 2.04 MB / 0.6361 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.5826, allocations: 163 kB / 0.6362 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.574e-05/0.5827, allocations: 27.84 kB / 0.6362 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004808/0.5831, allocations: 27.97 kB / 0.6363 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.263e-05/0.5832, allocations: 36.38 kB / 0.6363 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.5833, allocations: 23.98 kB / 0.6363 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005831/0.5839, allocations: 463 kB / 0.6368 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.5839, allocations: 8.156 kB / 0.6368 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003038/0.5869, allocations: 1.1 MB / 0.6378 GB, free: 4.238 MB / 0.5294 GB 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.004397/0.5913, allocations: 1.203 MB / 0.639 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00193/0.5932, allocations: 0.9323 MB / 0.6399 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5932, allocations: 4.312 kB / 0.6399 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001289/0.5945, allocations: 0.6212 MB / 0.6405 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/0.5962, allocations: 333.4 kB / 0.6409 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003461/0.5997, allocations: 2.277 MB / 0.6431 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005757/0.6002, allocations: 0.5209 MB / 0.6436 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008387/0.6011, allocations: 436.9 kB / 0.644 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.6012, allocations: 60.48 kB / 0.6441 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.082e-06/0.6012, allocations: 3.938 kB / 0.6441 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Templates: time 0.07197/0.6732, allocations: 44.98 MB / 0.688 GB, free: 1.039 MB / 0.5763 GB " [Timeout remaining time 659] 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=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.50418503198307]