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.001953/0.001953, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 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.002922/0.002922, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.669/1.669, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.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.231/0.231, allocations: 46.96 MB / 360.8 MB, free: 3.941 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.002478/0.002478, allocations: 83.86 kB / 0.4967 GB, free: 7.055 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3317, allocations: 66.08 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05194/0.3837, allocations: 35.87 MB / 0.5962 GB, free: 0 / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02779/0.4115, allocations: 18.05 MB / 0.6138 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.4123, allocations: 31.75 kB / 0.6139 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.4138, allocations: 409.4 kB / 0.6143 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01633/0.4302, allocations: 5.127 MB / 0.6193 GB, free: 8.328 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008587/0.4388, allocations: 2.527 MB / 0.6217 GB, free: 5.801 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003562/0.4423, allocations: 2.016 MB / 0.6237 GB, free: 3.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.4433, allocations: 425.8 kB / 0.6241 GB, free: 3.348 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.4536, allocations: 4.187 MB / 0.6282 GB, free: 15.11 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.012/0.4656, allocations: 5.479 MB / 0.6336 GB, free: 9.543 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004061/0.466, allocations: 72 kB / 0.6336 GB, free: 9.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01594/0.4819, allocations: 7.044 MB / 0.6405 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006186/0.4826, allocations: 291.1 kB / 0.6408 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008657/0.4834, allocations: 390.4 kB / 0.6411 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01237/0.4958, allocations: 5.128 MB / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4958, allocations: 4 kB / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4958, allocations: 0 / 0.6462 GB, free: 12.61 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.094e-05/0.4958, allocations: 0 / 0.6462 GB, free: 12.61 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.005137/0.501, allocations: 1.627 MB / 0.6478 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.501, allocations: 8.031 kB / 0.6478 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002385/0.5034, allocations: 304.1 kB / 0.648 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5048, allocations: 0.522 MB / 0.6486 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001884/0.505, allocations: 172.7 kB / 0.6487 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.5051, allocations: 60.12 kB / 0.6488 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/0.5081, allocations: 1.484 MB / 0.6502 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.119e-05/0.5081, allocations: 7.938 kB / 0.6502 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.5082, allocations: 35.92 kB / 0.6503 GB, free: 8.133 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.773e-05/0.5083, allocations: 41.3 kB / 0.6503 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.5102, allocations: 0.844 MB / 0.6511 GB, free: 7.25 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.006634/0.5169, allocations: 4.35 MB / 0.6554 GB, free: 2.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.5183, allocations: 0.5666 MB / 0.6559 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.5187, allocations: 209.6 kB / 0.6561 GB, free: 1.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09529/0.614, allocations: 26.04 MB / 0.6816 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.417e-05/0.6141, allocations: 50.48 kB / 0.6816 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 2.695e-06/0.6141, allocations: 0 / 0.6816 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46): time 0.005831/0.6199, allocations: 1.863 MB / 0.6834 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.62, allocations: 162.2 kB / 0.6836 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000775/0.6208, allocations: 0.5455 MB / 0.6841 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.6209, allocations: 37.7 kB / 0.6842 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000376/0.6212, allocations: 412 kB / 0.6845 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6214, allocations: 182.5 kB / 0.6847 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.6217, allocations: 158.6 kB / 0.6849 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001969/0.6219, allocations: 366.8 kB / 0.6852 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.6223, allocations: 225.9 kB / 0.6854 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.6231, allocations: 0.6471 MB / 0.6861 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.6243, allocations: 0.8407 MB / 0.6869 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6243, allocations: 0 / 0.6869 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00152/0.6258, allocations: 0.8678 MB / 0.6877 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.6258, allocations: 12 kB / 0.6877 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.6259, allocations: 12.16 kB / 0.6878 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.6262, allocations: 60.83 kB / 0.6878 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.6274, allocations: 283.6 kB / 0.6881 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001742/0.6291, allocations: 1.956 MB / 0.69 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.6296, allocations: 28 kB / 0.69 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/0.6297, allocations: 40 kB / 0.6901 GB, free: 14.58 MB / 0.5294 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.0004262/0.6301, allocations: 273.4 kB / 0.6903 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.6303, allocations: 67.58 kB / 0.6904 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002893/0.6332, allocations: 2.302 MB / 0.6926 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.052e-05/0.6332, allocations: 31.95 kB / 0.6927 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6332, allocations: 0 / 0.6927 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6332, allocations: 0 / 0.6927 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003975/0.6372, allocations: 3.097 MB / 0.6957 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.6372, allocations: 4 kB / 0.6957 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/0.6382, allocations: 191.8 kB / 0.6959 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.6385, allocations: 84.78 kB / 0.696 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.6385, allocations: 8 kB / 0.696 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.6402, allocations: 1.979 MB / 0.6979 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6402, allocations: 0 / 0.6979 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.6426, allocations: 2.046 MB / 0.6999 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003718/0.643, allocations: 163 kB / 0.7001 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.6431, allocations: 27.83 kB / 0.7001 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005103/0.6436, allocations: 28.25 kB / 0.7001 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.6437, allocations: 48.3 kB / 0.7002 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/0.6437, allocations: 23.98 kB / 0.7002 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000641/0.6444, allocations: 463 kB / 0.7006 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6444, allocations: 0 / 0.7006 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003106/0.6475, allocations: 1.096 MB / 0.7017 GB, free: 2.461 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.004919/0.6524, allocations: 1.21 MB / 0.7029 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002101/0.6545, allocations: 0.9279 MB / 0.7038 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6545, allocations: 0 / 0.7038 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/0.6559, allocations: 0.6287 MB / 0.7044 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.6579, allocations: 339.9 kB / 0.7047 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/0.6619, allocations: 2.282 MB / 0.7069 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.6626, allocations: 0.517 MB / 0.7074 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009449/0.6635, allocations: 429.3 kB / 0.7079 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.6637, allocations: 63.42 kB / 0.7079 GB, free: 12.02 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.6637, allocations: 0 / 0.7079 GB, free: 12.02 MB / 0.545 GB Notification: Performance of Templates: time 0.3107/0.9744, allocations: 46.37 MB / 0.7532 GB, free: 155.5 MB / 0.5606 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/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: 9.253321694210172]