Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009347/0.0009347, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001116/0.001116, allocations: 164.8 kB / 25.61 MB, free: 8.902 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 1.032/1.032, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.204/0.204, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.544e-05/2.74e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01457/0.0146, allocations: 16.61 MB / 393.9 MB, free: 8.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.02883, allocations: 13.78 MB / 407.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.02929, allocations: 27.75 kB / 407.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.02998, allocations: 258.2 kB / 407.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008708/0.03869, allocations: 4.952 MB / 412.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.04241, allocations: 1.955 MB / 414.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001606/0.04401, allocations: 2.039 MB / 416.9 MB, free: 1.832 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.04443, allocations: 441.9 kB / 417.3 MB, free: 1.383 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009122/0.05355, allocations: 7.63 MB / 425 MB, free: 9.645 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002388/0.05594, allocations: 2.186 MB / 427.1 MB, free: 7.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.05601, allocations: 64 kB / 427.2 MB, free: 7.367 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008351/0.06437, allocations: 6.754 MB / 434 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.06459, allocations: 299.1 kB / 434.2 MB, free: 320 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.06499, allocations: 315.3 kB / 434.6 MB, free: 4 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005889/0.07088, allocations: 5.585 MB / 440.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.07089, allocations: 0 / 440.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.07089, allocations: 0 / 440.1 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.0709, allocations: 4 kB / 440.1 MB, free: 10.4 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.002882/0.07378, allocations: 1.638 MB / 441.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.07382, allocations: 19.92 kB / 441.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000914/0.07474, allocations: 367.3 kB / 442.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006098/0.07535, allocations: 0.489 MB / 442.7 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.07546, allocations: 172.6 kB / 442.8 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.328e-05/0.07553, allocations: 60.38 kB / 442.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.07659, allocations: 1.137 MB / 444 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.07661, allocations: 11.88 kB / 444 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.07666, allocations: 28 kB / 444.1 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/0.07672, allocations: 36.98 kB / 444.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006205/0.07734, allocations: 426.1 kB / 444.5 MB, free: 5.738 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.003653/0.081, allocations: 5.464 MB / 450 MB, free: 88 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.08163, allocations: 377.2 kB / 450.3 MB, free: 15.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001159/0.08175, allocations: 95.02 kB / 450.4 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04111/0.1229, allocations: 22.63 MB / 473.1 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1229, allocations: 41.39 kB / 473.1 MB, free: 8.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=39): time 2.434e-06/0.1229, allocations: 0 / 473.1 MB, free: 8.859 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.003233/0.1261, allocations: 1.313 MB / 474.4 MB, free: 7.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.1262, allocations: 191.9 kB / 474.6 MB, free: 7.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.1266, allocations: 0.5722 MB / 475.2 MB, free: 6.684 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.1266, allocations: 29.7 kB / 475.2 MB, free: 6.648 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.1269, allocations: 482.4 kB / 475.7 MB, free: 6.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.96e-05/0.127, allocations: 170.6 kB / 475.8 MB, free: 6.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.1271, allocations: 184.2 kB / 476 MB, free: 5.816 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1273, allocations: 0.5546 MB / 476.6 MB, free: 5.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1274, allocations: 77.92 kB / 476.7 MB, free: 5.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000457/0.1278, allocations: 0.7093 MB / 477.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009075/0.1288, allocations: 0.7669 MB / 478.1 MB, free: 3.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.1288, allocations: 4 kB / 478.1 MB, free: 3.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006758/0.1294, allocations: 0.6375 MB / 478.8 MB, free: 2.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.1295, allocations: 14.19 kB / 478.8 MB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.1295, allocations: 12 kB / 478.8 MB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.131, allocations: 247.4 kB / 479 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.1315, allocations: 260 kB / 479.3 MB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00111/0.1327, allocations: 2.645 MB / 481.9 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/0.1329, allocations: 28 kB / 482 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.1329, allocations: 40 kB / 482 MB, free: 15.16 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.0001915/0.1331, allocations: 216.2 kB / 482.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1332, allocations: 83.56 kB / 482.3 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000945/0.1342, allocations: 1.155 MB / 483.5 MB, free: 13.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.1342, allocations: 23.97 kB / 483.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.1342, allocations: 0 / 483.5 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.1342, allocations: 7.984 kB / 483.5 MB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.1359, allocations: 1.633 MB / 485.1 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1359, allocations: 0 / 485.1 MB, free: 12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.1363, allocations: 159.9 kB / 485.3 MB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007792/0.1371, allocations: 255.2 kB / 485.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/0.1371, allocations: 12 kB / 485.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/0.1381, allocations: 2.615 MB / 488.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1381, allocations: 48 / 488.1 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.1389, allocations: 1.212 MB / 489.4 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.139, allocations: 139.1 kB / 489.5 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.1391, allocations: 31.78 kB / 489.5 MB, free: 7.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/0.1393, allocations: 12 kB / 489.5 MB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.1393, allocations: 36.44 kB / 489.6 MB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1394, allocations: 15.98 kB / 489.6 MB, free: 7.348 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000261/0.1396, allocations: 434.8 kB / 490 MB, free: 6.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1396, allocations: 8 kB / 490 MB, free: 6.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002144/0.1418, allocations: 1.1 MB / 491.1 MB, free: 5.812 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.002998/0.1448, allocations: 1.329 MB / 492.5 MB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007657/0.1455, allocations: 0.5251 MB / 493 MB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1455, allocations: 0 / 493 MB, free: 3.945 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000451/0.146, allocations: 354.3 kB / 493.3 MB, free: 3.598 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009481/0.1469, allocations: 358 kB / 493.7 MB, free: 3.258 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1489, allocations: 1.802 MB / 495.5 MB, free: 1.406 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.149, allocations: 249.6 kB / 495.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003342/0.1494, allocations: 257.2 kB / 496 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/0.1498, allocations: 342 kB / 496.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1498, allocations: 0 / 496.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of Templates: time 0.1949/0.3447, allocations: 50.57 MB / 0.5341 GB, free: 61.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.383748920168728]