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.001179/0.001179, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001256/0.001256, allocations: 170.2 kB / 24.91 MB, free: 9.195 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.9779/0.9779, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2719/0.2719, allocations: 32.8 MB / 294.6 MB, free: 1.168 MB / 266.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.903e-06/1.903e-06, allocations: 0 / 323.2 MB, free: 9.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.794e-05, allocations: 2.312 kB / 323.2 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.02078/0.02081, allocations: 16.74 MB / 340 MB, free: 8.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.03852, allocations: 13.99 MB / 354 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.03909, allocations: 31.69 kB / 354 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.03969, allocations: 242.4 kB / 354.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009984/0.04968, allocations: 4.986 MB / 359.2 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.05332, allocations: 1.966 MB / 361.2 MB, free: 3.559 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.05512, allocations: 2.047 MB / 363.2 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.05567, allocations: 434 kB / 363.7 MB, free: 1.055 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009143/0.06482, allocations: 7.642 MB / 371.3 MB, free: 9.305 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.06736, allocations: 2.163 MB / 373.5 MB, free: 7.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.827e-05/0.06745, allocations: 64 kB / 373.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008854/0.0763, allocations: 6.746 MB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002244/0.07652, allocations: 299 kB / 380.6 MB, free: 4 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002844/0.07681, allocations: 319.3 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00682/0.08363, allocations: 5.573 MB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.08363, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.08363, allocations: 0 / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.08364, allocations: 0 / 386.5 MB, free: 10.11 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.001986/0.08563, allocations: 1.513 MB / 388 MB, free: 8.562 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.08566, allocations: 8.031 kB / 388 MB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.08648, allocations: 379.7 kB / 388.3 MB, free: 8.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.08699, allocations: 443.2 kB / 388.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.646e-05/0.08709, allocations: 164.7 kB / 388.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.651e-05/0.08715, allocations: 56.38 kB / 389 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.08803, allocations: 1.064 MB / 390.1 MB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.08804, allocations: 7.875 kB / 390.1 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.565e-05/0.08809, allocations: 32 kB / 390.1 MB, free: 6.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.08813, allocations: 40.97 kB / 390.1 MB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.08866, allocations: 401 kB / 390.5 MB, free: 5.773 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.002693/0.09135, allocations: 3.798 MB / 394.3 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.09187, allocations: 343.4 kB / 394.7 MB, free: 1.473 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.557e-05/0.09195, allocations: 78.55 kB / 394.7 MB, free: 1.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2684/0.3604, allocations: 67.31 MB / 462.1 MB, free: 96.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3604, allocations: 38.44 kB / 462.1 MB, free: 96.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.826e-06/0.3604, allocations: 0 / 462.1 MB, free: 96.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.00379/0.3642, allocations: 1.266 MB / 463.4 MB, free: 95.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.3642, allocations: 187.9 kB / 463.5 MB, free: 95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.3646, allocations: 0.4964 MB / 464 MB, free: 94.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3646, allocations: 29.33 kB / 464.1 MB, free: 94.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3648, allocations: 380.5 kB / 464.4 MB, free: 94.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.3649, allocations: 168.1 kB / 464.6 MB, free: 94.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.365, allocations: 159.2 kB / 464.8 MB, free: 94.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.3651, allocations: 374.2 kB / 465.1 MB, free: 93.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3652, allocations: 74.77 kB / 465.2 MB, free: 93.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002905/0.3655, allocations: 0.5436 MB / 465.7 MB, free: 93.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004807/0.366, allocations: 0.5986 MB / 466.3 MB, free: 92.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.366, allocations: 4 kB / 466.3 MB, free: 92.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006741/0.3667, allocations: 0.5145 MB / 466.9 MB, free: 92.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.3667, allocations: 14.34 kB / 466.9 MB, free: 92.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.3667, allocations: 12 kB / 466.9 MB, free: 92.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.3687, allocations: 233.3 kB / 467.1 MB, free: 92.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007382/0.3694, allocations: 251.8 kB / 467.4 MB, free: 91.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008187/0.3702, allocations: 1.797 MB / 469.1 MB, free: 89.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003627/0.3706, allocations: 33.53 kB / 469.2 MB, free: 89.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/0.3707, allocations: 43.62 kB / 469.2 MB, free: 89.92 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.000186/0.3708, allocations: 175 kB / 469.4 MB, free: 89.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.371, allocations: 55.75 kB / 469.5 MB, free: 89.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009705/0.3719, allocations: 1.208 MB / 470.7 MB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.3719, allocations: 27.59 kB / 470.7 MB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.3719, allocations: 0 / 470.7 MB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.3719, allocations: 10.66 kB / 470.7 MB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/0.3735, allocations: 1.452 MB / 472.1 MB, free: 87.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3735, allocations: 0 / 472.1 MB, free: 87.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/0.374, allocations: 159 kB / 472.3 MB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008757/0.3749, allocations: 265.3 kB / 472.6 MB, free: 87.05 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3749, allocations: 7.688 kB / 472.6 MB, free: 87.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005424/0.3754, allocations: 1.782 MB / 474.4 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3754, allocations: 4 kB / 474.4 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.376, allocations: 1.094 MB / 475.4 MB, free: 84.12 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.3761, allocations: 115.8 kB / 475.6 MB, free: 84.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.3762, allocations: 30.84 kB / 475.6 MB, free: 84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.3764, allocations: 7.875 kB / 475.6 MB, free: 84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.3764, allocations: 34.97 kB / 475.6 MB, free: 83.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.3764, allocations: 15.8 kB / 475.6 MB, free: 83.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001731/0.3766, allocations: 297 kB / 475.9 MB, free: 83.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3766, allocations: 0 / 475.9 MB, free: 83.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002038/0.3786, allocations: 1.096 MB / 477 MB, free: 82.66 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.002366/0.381, allocations: 1.376 MB / 478.4 MB, free: 81.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.3817, allocations: 0.4956 MB / 478.9 MB, free: 81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/0.3817, allocations: 12.5 kB / 478.9 MB, free: 80.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.382, allocations: 320.6 kB / 479.2 MB, free: 80.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.3828, allocations: 354.2 kB / 479.6 MB, free: 80.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.3846, allocations: 1.801 MB / 481.4 MB, free: 78.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3847, allocations: 240 kB / 481.6 MB, free: 78.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003185/0.3851, allocations: 251.4 kB / 481.9 MB, free: 78.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003642/0.3854, allocations: 288.4 kB / 482.1 MB, free: 78.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3854, allocations: 0 / 482.1 MB, free: 78.01 MB / 410.7 MB Notification: Performance of Templates: time 0.03892/0.4244, allocations: 49.5 MB / 0.5192 GB, free: 29.16 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: 5.178258638828993]