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.001005/0.001005, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001045/0.001045, allocations: 169.9 kB / 24.82 MB, free: 9.312 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.099/1.099, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2666/0.2666, allocations: 32.81 MB / 294.6 MB, free: 1.242 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.603e-06/1.603e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.005e-05, allocations: 13.48 kB / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0155/0.01553, allocations: 16.63 MB / 393.1 MB, free: 3.691 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.02924, allocations: 13.77 MB / 406.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006282/0.02987, allocations: 27.75 kB / 406.9 MB, free: 5.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006725/0.03055, allocations: 254.2 kB / 407.2 MB, free: 5.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01239/0.04293, allocations: 4.968 MB / 412.1 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.04768, allocations: 1.943 MB / 414.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003021/0.0507, allocations: 2.039 MB / 416.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000594/0.0513, allocations: 441.9 kB / 416.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009046/0.06034, allocations: 7.642 MB / 424.2 MB, free: 4.414 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002546/0.06289, allocations: 2.182 MB / 426.4 MB, free: 2.203 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.063, allocations: 64 kB / 426.4 MB, free: 2.141 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.07441, allocations: 6.746 MB / 433.2 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.07479, allocations: 299.1 kB / 433.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.07532, allocations: 319.3 kB / 433.8 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.08683, allocations: 5.581 MB / 439.4 MB, free: 5.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.08684, allocations: 0 / 439.4 MB, free: 5.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.08684, allocations: 0 / 439.4 MB, free: 5.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.08685, allocations: 0 / 439.4 MB, free: 5.188 MB / 410.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.003706/0.09056, allocations: 1.649 MB / 441 MB, free: 3.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.09062, allocations: 8.031 kB / 441 MB, free: 3.484 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.09198, allocations: 363.4 kB / 441.4 MB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007658/0.09274, allocations: 0.5084 MB / 441.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.09286, allocations: 164.6 kB / 442.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.09296, allocations: 64.36 kB / 442.1 MB, free: 2.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.09432, allocations: 1.129 MB / 443.2 MB, free: 1.012 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.09434, allocations: 11.83 kB / 443.3 MB, free: 1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.09441, allocations: 32 kB / 443.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-05/0.09446, allocations: 40.98 kB / 443.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.09557, allocations: 414.1 kB / 443.7 MB, free: 0.5234 MB / 410.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.1711/0.2667, allocations: 5.452 MB / 449.2 MB, free: 72.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005879/0.2672, allocations: 383.4 kB / 449.6 MB, free: 72.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.118e-05/0.2673, allocations: 98.64 kB / 449.7 MB, free: 72.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03811/0.3054, allocations: 22.76 MB / 472.4 MB, free: 70.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.3055, allocations: 43.08 kB / 472.5 MB, free: 70.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.765e-06/0.3055, allocations: 3.797 kB / 472.5 MB, free: 70.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.003348/0.3088, allocations: 1.338 MB / 473.8 MB, free: 70.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.3089, allocations: 185.5 kB / 474 MB, free: 70.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004357/0.3093, allocations: 0.5717 MB / 474.6 MB, free: 70.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.3093, allocations: 34.39 kB / 474.6 MB, free: 70.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3095, allocations: 478.3 kB / 475.1 MB, free: 69.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.91e-05/0.3096, allocations: 176 kB / 475.2 MB, free: 69.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.3098, allocations: 179 kB / 475.4 MB, free: 69.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3099, allocations: 0.5585 MB / 476 MB, free: 69.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.31, allocations: 79.34 kB / 476 MB, free: 69.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.3103, allocations: 0.7021 MB / 476.7 MB, free: 68.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005129/0.3108, allocations: 0.7624 MB / 477.5 MB, free: 67.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.3108, allocations: 7.875 kB / 477.5 MB, free: 67.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007967/0.3116, allocations: 0.6562 MB / 478.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3116, allocations: 13.34 kB / 478.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.3117, allocations: 12.69 kB / 478.2 MB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001484/0.3131, allocations: 269.7 kB / 478.5 MB, free: 67.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005698/0.3137, allocations: 254.8 kB / 478.7 MB, free: 67.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04313/0.3568, allocations: 21.81 MB / 0.4888 GB, free: 57.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/0.3575, allocations: 30.25 kB / 0.4888 GB, free: 57.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.3575, allocations: 40.61 kB / 0.4889 GB, free: 57.09 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.3577, allocations: 223.2 kB / 0.4891 GB, free: 56.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.3578, allocations: 82.02 kB / 0.4891 GB, free: 56.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008852/0.3587, allocations: 1.175 MB / 0.4903 GB, free: 55.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.3587, allocations: 23.59 kB / 0.4903 GB, free: 55.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3587, allocations: 4 kB / 0.4903 GB, free: 55.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3588, allocations: 0 / 0.4903 GB, free: 55.89 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.3602, allocations: 1.678 MB / 0.492 GB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3602, allocations: 0 / 0.492 GB, free: 54.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003754/0.3605, allocations: 157.4 kB / 0.4921 GB, free: 54.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008092/0.3613, allocations: 329.3 kB / 0.4924 GB, free: 54.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.3614, allocations: 15.67 kB / 0.4924 GB, free: 54.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.3628, allocations: 3.644 MB / 0.496 GB, free: 50.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3628, allocations: 4 kB / 0.496 GB, free: 50.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009422/0.3637, allocations: 1.24 MB / 0.4972 GB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.3639, allocations: 143 kB / 0.4973 GB, free: 49.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.364, allocations: 31.66 kB / 0.4974 GB, free: 49.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3641, allocations: 15.75 kB / 0.4974 GB, free: 49.47 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.3642, allocations: 42.8 kB / 0.4974 GB, free: 49.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3642, allocations: 11.56 kB / 0.4974 GB, free: 49.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002853/0.3645, allocations: 437.5 kB / 0.4979 GB, free: 49.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3645, allocations: 0 / 0.4979 GB, free: 49.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002966/0.3675, allocations: 1.103 MB / 0.4989 GB, free: 48.1 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 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002659/0.3701, allocations: 1.325 MB / 0.5002 GB, free: 47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009856/0.3711, allocations: 0.7496 MB / 0.501 GB, free: 46.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3711, allocations: 0 / 0.501 GB, free: 46.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004568/0.3716, allocations: 0.5135 MB / 0.5015 GB, free: 45.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009144/0.3725, allocations: 352 kB / 0.5018 GB, free: 45.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.3747, allocations: 1.823 MB / 0.5036 GB, free: 44.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.3748, allocations: 247.6 kB / 0.5038 GB, free: 44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003594/0.3752, allocations: 258.2 kB / 0.5041 GB, free: 43.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/0.3756, allocations: 342.9 kB / 0.5044 GB, free: 43.58 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/0.3756, allocations: 4 kB / 0.5044 GB, free: 43.58 MB / 410.7 MB Notification: Performance of Templates: time 0.04717/0.4227, allocations: 51.41 MB / 0.5546 GB, free: 10.57 MB / 426.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.283425700850785]