Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002011/0.002011, allocations: 72.55 kB / 19.93 MB, free: 1.773 MB / 14.72 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.002546/0.002546, allocations: 175.5 kB / 23.22 MB, free: 4.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.581/1.581, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.227/0.227, allocations: 32.37 MB / 269.6 MB, free: 4.754 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.312e-05/3.464e-05, allocations: 4.531 kB / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.04857/0.04861, allocations: 35.5 MB / 442.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02908/0.07768, allocations: 18.02 MB / 460.9 MB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.07877, allocations: 31.69 kB / 460.9 MB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001467/0.08023, allocations: 417.2 kB / 461.3 MB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01683/0.09706, allocations: 5.184 MB / 466.5 MB, free: 7.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009489/0.1066, allocations: 2.602 MB / 469.1 MB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003612/0.1102, allocations: 2 MB / 471.1 MB, free: 3.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000851/0.111, allocations: 421.7 kB / 471.5 MB, free: 2.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2571/0.3681, allocations: 4.399 MB / 475.9 MB, free: 19.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01298/0.3811, allocations: 5.419 MB / 481.4 MB, free: 17.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003407/0.3815, allocations: 71.19 kB / 481.4 MB, free: 17.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01756/0.399, allocations: 6.919 MB / 488.3 MB, free: 17.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007408/0.3998, allocations: 295.8 kB / 488.6 MB, free: 17.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.4009, allocations: 322.1 kB / 488.9 MB, free: 17.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01947/0.4204, allocations: 6.094 MB / 495 MB, free: 17.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.814e-06/0.4204, allocations: 2.484 kB / 495 MB, free: 17.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4204, allocations: 0 / 495 MB, free: 17.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4204, allocations: 1.375 kB / 495 MB, free: 17.73 MB / 398.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.005757/0.4261, allocations: 1.582 MB / 496.6 MB, free: 16.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.4262, allocations: 10.78 kB / 496.6 MB, free: 16.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.4277, allocations: 226.4 kB / 496.9 MB, free: 16.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.4287, allocations: 0.4938 MB / 497.4 MB, free: 16.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.4288, allocations: 167.8 kB / 497.5 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4289, allocations: 59.7 kB / 497.6 MB, free: 16.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.4308, allocations: 1.349 MB / 498.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.4308, allocations: 3.281 kB / 498.9 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.509e-05/0.4309, allocations: 37.64 kB / 499 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-05/0.4309, allocations: 45.81 kB / 499 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.4324, allocations: 0.8132 MB / 499.8 MB, free: 15.92 MB / 398.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.004656/0.4371, allocations: 4.482 MB / 0.4925 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.4382, allocations: 0.5223 MB / 0.493 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.4385, allocations: 193.5 kB / 0.4932 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08832/0.5268, allocations: 25.16 MB / 0.5177 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/0.5269, allocations: 45.94 kB / 0.5178 GB, free: 12.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=39): time 2.585e-06/0.5269, allocations: 0 / 0.5178 GB, free: 12.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=44): time 0.00734/0.5342, allocations: 2.06 MB / 0.5198 GB, free: 11.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/0.5344, allocations: 190.7 kB / 0.52 GB, free: 11.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007965/0.5352, allocations: 0.56 MB / 0.5205 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.5353, allocations: 31.83 kB / 0.5206 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/0.5356, allocations: 424.5 kB / 0.521 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.5358, allocations: 161 kB / 0.5211 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.5361, allocations: 162.5 kB / 0.5213 GB, free: 10.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.5363, allocations: 369.3 kB / 0.5216 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.5367, allocations: 230.5 kB / 0.5218 GB, free: 9.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.5376, allocations: 0.6677 MB / 0.5225 GB, free: 8.801 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.5388, allocations: 0.8755 MB / 0.5234 GB, free: 7.863 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.5389, allocations: 0 / 0.5234 GB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001726/0.5406, allocations: 0.8854 MB / 0.5242 GB, free: 7.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.5406, allocations: 8 kB / 0.5242 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.5406, allocations: 12 kB / 0.5242 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003486/0.5441, allocations: 268.5 kB / 0.5245 GB, free: 6.754 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.5454, allocations: 285.6 kB / 0.5248 GB, free: 6.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.5475, allocations: 1.996 MB / 0.5267 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/0.5482, allocations: 31.98 kB / 0.5267 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/0.5483, allocations: 40 kB / 0.5268 GB, free: 4.312 MB / 414.1 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.0005558/0.5489, allocations: 279.1 kB / 0.5271 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.5491, allocations: 67.58 kB / 0.5271 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.5519, allocations: 2.107 MB / 0.5292 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.723e-05/0.5519, allocations: 23.97 kB / 0.5292 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5519, allocations: 0.6875 kB / 0.5292 GB, free: 1.855 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.5519, allocations: 7.406 kB / 0.5292 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/0.5558, allocations: 2.812 MB / 0.5319 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.5558, allocations: 4 kB / 0.532 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.5568, allocations: 188.3 kB / 0.5321 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.5586, allocations: 304.4 kB / 0.5324 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.5587, allocations: 16 kB / 0.5324 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5607, allocations: 2.058 MB / 0.5344 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5607, allocations: 4.031 kB / 0.5345 GB, free: 12.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.5633, allocations: 1.989 MB / 0.5364 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.5637, allocations: 147.5 kB / 0.5365 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5639, allocations: 31.78 kB / 0.5366 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.5643, allocations: 14.08 kB / 0.5366 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.32e-05/0.5644, allocations: 36.38 kB / 0.5366 GB, free: 10.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.5645, allocations: 19.98 kB / 0.5366 GB, free: 10.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007359/0.5652, allocations: 0.5107 MB / 0.5371 GB, free: 9.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5652, allocations: 0 / 0.5371 GB, free: 9.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004499/0.5697, allocations: 1.088 MB / 0.5382 GB, free: 8.496 MB / 430.1 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.007401/0.5771, allocations: 1.339 MB / 0.5395 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.5796, allocations: 0.9153 MB / 0.5404 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5796, allocations: 128 / 0.5404 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001309/0.581, allocations: 0.6029 MB / 0.541 GB, free: 5.805 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5831, allocations: 344 kB / 0.5413 GB, free: 5.496 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.5867, allocations: 2.074 MB / 0.5433 GB, free: 3.406 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.5873, allocations: 0.5014 MB / 0.5438 GB, free: 2.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009181/0.5883, allocations: 337.2 kB / 0.5441 GB, free: 2.551 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5884, allocations: 60.5 kB / 0.5442 GB, free: 2.492 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5884, allocations: 0 / 0.5442 GB, free: 2.492 MB / 430.1 MB Notification: Performance of Templates: time 0.07433/0.6627, allocations: 44.06 MB / 0.5872 GB, free: 6.586 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.784483518451452]