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.001002/0.001002, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001142/0.001142, allocations: 167.4 kB / 25.61 MB, free: 8.578 MB / 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.9777/0.9777, allocations: 177 MB / 205.9 MB, free: 4.453 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.1555/0.1555, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.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.473e-06/1.473e-06, allocations: 3.938 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.902e-05, allocations: 4.094 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01409/0.01412, allocations: 16.62 MB / 396.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01263/0.02675, allocations: 13.77 MB / 410.4 MB, free: 8.23 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007941/0.02754, allocations: 31.69 kB / 410.4 MB, free: 8.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000744/0.02829, allocations: 250.3 kB / 410.7 MB, free: 7.953 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.03912, allocations: 4.964 MB / 415.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.04339, allocations: 1.951 MB / 417.6 MB, free: 1.012 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.04587, allocations: 2.039 MB / 419.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009138/0.04678, allocations: 445.9 kB / 420.1 MB, free: 14.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01093/0.05771, allocations: 7.626 MB / 427.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003421/0.06113, allocations: 2.19 MB / 429.9 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.06134, allocations: 68 kB / 430 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01072/0.07207, allocations: 6.746 MB / 436.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005183/0.07258, allocations: 295.1 kB / 437 MB, free: 13.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006283/0.07321, allocations: 315.3 kB / 437.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.08522, allocations: 5.581 MB / 442.9 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.08522, allocations: 4 kB / 442.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08523, allocations: 0 / 442.9 MB, free: 7.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.984e-05/0.08525, allocations: 4 kB / 442.9 MB, free: 7.535 MB / 362.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.003859/0.0891, allocations: 1.638 MB / 444.5 MB, free: 5.855 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.08914, allocations: 12.03 kB / 444.5 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009778/0.09012, allocations: 375.2 kB / 444.9 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007044/0.09083, allocations: 0.4968 MB / 445.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.09095, allocations: 164.7 kB / 445.6 MB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.09104, allocations: 56.38 kB / 445.6 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.09218, allocations: 1.125 MB / 446.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.09221, allocations: 11.88 kB / 446.8 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.09226, allocations: 31.98 kB / 446.8 MB, free: 3.336 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/0.09232, allocations: 48.97 kB / 446.8 MB, free: 3.289 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006636/0.09298, allocations: 414.1 kB / 447.2 MB, free: 2.883 MB / 362.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.003699/0.09668, allocations: 5.468 MB / 452.7 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006769/0.09736, allocations: 385.2 kB / 453.1 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.09749, allocations: 103 kB / 453.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04266/0.1401, allocations: 22.63 MB / 475.8 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.1402, allocations: 45.39 kB / 475.9 MB, free: 5.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 2.264e-06/0.1402, allocations: 3.938 kB / 475.9 MB, free: 5.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.003233/0.1434, allocations: 1.296 MB / 477.2 MB, free: 4.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.1435, allocations: 187.9 kB / 477.3 MB, free: 4.414 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004376/0.1439, allocations: 0.5722 MB / 477.9 MB, free: 3.824 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.144, allocations: 33.7 kB / 478 MB, free: 3.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.1442, allocations: 486.4 kB / 478.4 MB, free: 3.305 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.1443, allocations: 174.6 kB / 478.6 MB, free: 3.133 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.1444, allocations: 172.1 kB / 478.8 MB, free: 2.957 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1446, allocations: 0.5585 MB / 479.3 MB, free: 2.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1447, allocations: 81.92 kB / 479.4 MB, free: 2.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000387/0.1451, allocations: 0.7055 MB / 480.1 MB, free: 1.336 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.1457, allocations: 0.7718 MB / 480.9 MB, free: 336 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.1457, allocations: 4 kB / 480.9 MB, free: 332 kB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00072/0.1464, allocations: 0.6263 MB / 481.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1464, allocations: 16.03 kB / 481.5 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1464, allocations: 12 kB / 481.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.1479, allocations: 247.3 kB / 481.8 MB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.1485, allocations: 255.7 kB / 482 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.1497, allocations: 2.646 MB / 484.7 MB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.15, allocations: 31.95 kB / 484.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.143e-05/0.1501, allocations: 40.16 kB / 484.7 MB, free: 12.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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.0002297/0.1503, allocations: 216.3 kB / 485 MB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.1504, allocations: 87.5 kB / 485 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.1515, allocations: 1.147 MB / 486.2 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.1515, allocations: 28.05 kB / 486.2 MB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.1515, allocations: 8.062 kB / 486.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1515, allocations: 3.984 kB / 486.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.1532, allocations: 1.645 MB / 487.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.1532, allocations: 4 kB / 487.9 MB, free: 9.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.1536, allocations: 151.8 kB / 488 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008169/0.1545, allocations: 247.2 kB / 488.3 MB, free: 8.719 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.1545, allocations: 8 kB / 488.3 MB, free: 8.711 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.1556, allocations: 2.622 MB / 490.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1556, allocations: 0 / 490.9 MB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00099/0.1566, allocations: 1.216 MB / 492.1 MB, free: 4.703 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.1568, allocations: 135.1 kB / 492.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.1569, allocations: 31.78 kB / 492.3 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.1571, allocations: 16 kB / 492.3 MB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.1572, allocations: 36.38 kB / 492.3 MB, free: 4.488 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1572, allocations: 15.98 kB / 492.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003118/0.1575, allocations: 422.8 kB / 492.8 MB, free: 4.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1575, allocations: 0 / 492.8 MB, free: 4.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004122/0.1616, allocations: 1.104 MB / 493.9 MB, free: 2.957 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.00525/0.1669, allocations: 1.333 MB / 495.2 MB, free: 1.609 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.1682, allocations: 0.5333 MB / 495.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1682, allocations: 0 / 495.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.1688, allocations: 349.9 kB / 496.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.1704, allocations: 355.6 kB / 496.4 MB, free: 408 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.186/0.3563, allocations: 1.807 MB / 498.2 MB, free: 93.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3565, allocations: 243 kB / 498.5 MB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005322/0.357, allocations: 258.4 kB / 498.7 MB, free: 93.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005044/0.3575, allocations: 345.8 kB / 499 MB, free: 93.56 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/0.3575, allocations: 0 / 499 MB, free: 93.56 MB / 410.7 MB Notification: Performance of Templates: time 0.05786/0.4154, allocations: 50.55 MB / 0.5367 GB, free: 57.18 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: 6.288733880035579]