Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008717/0.0008717, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003724/0.003724, allocations: 160 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.835/0.835, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2368/0.2368, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.552e-05, allocations: 2.281 kB / 443.5 MB, free: 1.125 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.183/0.1831, allocations: 35.63 MB / 479.1 MB, free: 21.72 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01128/0.1943, allocations: 18.03 MB / 497.1 MB, free: 9.836 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.1949, allocations: 29.22 kB / 497.1 MB, free: 9.82 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008192/0.1957, allocations: 412.1 kB / 497.5 MB, free: 9.609 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009258/0.205, allocations: 5.205 MB / 0.491 GB, free: 7.355 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.21, allocations: 2.598 MB / 0.4935 GB, free: 6.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.2122, allocations: 2.001 MB / 0.4955 GB, free: 5.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005621/0.2128, allocations: 421.5 kB / 0.4959 GB, free: 4.875 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005991/0.2188, allocations: 4.405 MB / 0.5002 GB, free: 2.887 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006506/0.2253, allocations: 5.438 MB / 0.5055 GB, free: 500 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.2255, allocations: 66.69 kB / 0.5055 GB, free: 500 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/0.2372, allocations: 6.936 MB / 0.5123 GB, free: 13.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004819/0.2377, allocations: 294.6 kB / 0.5126 GB, free: 13.09 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006852/0.2384, allocations: 316.3 kB / 0.5129 GB, free: 12.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.2521, allocations: 6.113 MB / 0.5189 GB, free: 8.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2521, allocations: 0 / 0.5189 GB, free: 8.617 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2521, allocations: 0 / 0.5189 GB, free: 8.617 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2522, allocations: 0 / 0.5189 GB, free: 8.617 MB / 426.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.004019/0.2562, allocations: 1.581 MB / 0.5204 GB, free: 7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2562, allocations: 8.031 kB / 0.5204 GB, free: 6.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.257, allocations: 228.2 kB / 0.5206 GB, free: 6.77 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.2577, allocations: 0.5096 MB / 0.5211 GB, free: 6.234 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.2578, allocations: 160.7 kB / 0.5213 GB, free: 6.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.221e-05/0.2578, allocations: 64.33 kB / 0.5213 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2592, allocations: 1.322 MB / 0.5226 GB, free: 4.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/0.2592, allocations: 11.88 kB / 0.5226 GB, free: 4.488 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.2592, allocations: 28 kB / 0.5227 GB, free: 4.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.2593, allocations: 44.97 kB / 0.5227 GB, free: 4.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009697/0.2603, allocations: 0.8115 MB / 0.5235 GB, free: 3.605 MB / 426.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.003478/0.2637, allocations: 4.468 MB / 0.5279 GB, free: 14.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.2645, allocations: 0.529 MB / 0.5284 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.2647, allocations: 206.5 kB / 0.5286 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05368/0.3184, allocations: 26.1 MB / 0.5541 GB, free: 4.082 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.839e-05/0.3185, allocations: 47.78 kB / 0.5541 GB, free: 4.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.346e-06/0.3185, allocations: 0 / 0.5541 GB, free: 4.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.006824/0.3253, allocations: 2.06 MB / 0.5561 GB, free: 1.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3254, allocations: 191.9 kB / 0.5563 GB, free: 1.699 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006774/0.3261, allocations: 0.5611 MB / 0.5569 GB, free: 1.125 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.898e-05/0.3261, allocations: 29.7 kB / 0.5569 GB, free: 1.09 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.3264, allocations: 419.9 kB / 0.5573 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.3265, allocations: 174.6 kB / 0.5575 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3267, allocations: 158.6 kB / 0.5576 GB, free: 352 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3269, allocations: 374.7 kB / 0.558 GB, free: 15.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.3273, allocations: 225.9 kB / 0.5582 GB, free: 15.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007467/0.328, allocations: 0.665 MB / 0.5588 GB, free: 14.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.3288, allocations: 0.8675 MB / 0.5597 GB, free: 13.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3288, allocations: 5.875 kB / 0.5597 GB, free: 13.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00101/0.3298, allocations: 0.89 MB / 0.5606 GB, free: 12.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3298, allocations: 8 kB / 0.5606 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.3298, allocations: 12 kB / 0.5606 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.3313, allocations: 272.6 kB / 0.5608 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006125/0.332, allocations: 279.6 kB / 0.5611 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.3333, allocations: 1.995 MB / 0.563 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3336, allocations: 35.98 kB / 0.5631 GB, free: 10.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.3336, allocations: 36 kB / 0.5631 GB, free: 10.21 MB / 474.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.0003179/0.3339, allocations: 282.9 kB / 0.5634 GB, free: 9.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.864e-05/0.334, allocations: 67.58 kB / 0.5634 GB, free: 9.863 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/0.3356, allocations: 2.105 MB / 0.5655 GB, free: 7.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.3356, allocations: 23.97 kB / 0.5655 GB, free: 7.727 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3356, allocations: 4 kB / 0.5655 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.3356, allocations: 3.984 kB / 0.5655 GB, free: 7.719 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.3379, allocations: 2.806 MB / 0.5683 GB, free: 4.863 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.3379, allocations: 4.062 kB / 0.5683 GB, free: 4.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.3383, allocations: 179.8 kB / 0.5685 GB, free: 4.684 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008178/0.3391, allocations: 316.4 kB / 0.5688 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.3392, allocations: 8 kB / 0.5688 GB, free: 4.363 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001079/0.3402, allocations: 2.065 MB / 0.5708 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3402, allocations: 0 / 0.5708 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3416, allocations: 1.987 MB / 0.5727 GB, free: 176 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.3418, allocations: 155.1 kB / 0.5729 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.3419, allocations: 31.94 kB / 0.5729 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.3421, allocations: 12 kB / 0.5729 GB, free: 15.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.3421, allocations: 32.44 kB / 0.5729 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.3422, allocations: 23.92 kB / 0.573 GB, free: 15.92 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004101/0.3426, allocations: 0.5068 MB / 0.5735 GB, free: 15.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3426, allocations: 4.125 kB / 0.5735 GB, free: 15.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003281/0.3458, allocations: 1.096 MB / 0.5745 GB, free: 14.31 MB / 490.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.002748/0.3486, allocations: 1.334 MB / 0.5758 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001145/0.3497, allocations: 0.9059 MB / 0.5767 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3497, allocations: 0 / 0.5767 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006202/0.3504, allocations: 0.5894 MB / 0.5773 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009628/0.3513, allocations: 323.4 kB / 0.5776 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.3534, allocations: 2.128 MB / 0.5797 GB, free: 9.008 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3538, allocations: 0.4921 MB / 0.5802 GB, free: 8.488 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3539, allocations: 68.48 kB / 0.5802 GB, free: 8.422 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3539, allocations: 0 / 0.5802 GB, free: 8.422 MB / 490.7 MB Notification: Performance of Templates: time 0.03277/0.3866, allocations: 37.09 MB / 0.6164 GB, free: 3.348 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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: 7.938320401124656]