Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001438/0.001438, allocations: 85.31 kB / 20.68 MB, free: 1.035 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.001465/0.001465, allocations: 165.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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.458/1.458, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 34.27 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 3.938 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.529e-05/2.758e-05, allocations: 9.516 kB / 442.7 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.257/0.257, allocations: 35.64 MB / 478.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02624/0.2832, allocations: 18.01 MB / 496.4 MB, free: 24 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.284, allocations: 30.5 kB / 496.4 MB, free: 4 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2853, allocations: 414.5 kB / 496.8 MB, free: 15.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0155/0.3008, allocations: 5.202 MB / 0.4902 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007589/0.3083, allocations: 2.598 MB / 0.4928 GB, free: 8.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002892/0.3112, allocations: 2.007 MB / 0.4947 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006858/0.3119, allocations: 421.7 kB / 0.4951 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.3225, allocations: 4.406 MB / 0.4994 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.3356, allocations: 5.429 MB / 0.5047 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.3358, allocations: 72 kB / 0.5048 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.3502, allocations: 6.922 MB / 0.5116 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.3506, allocations: 295.1 kB / 0.5118 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005826/0.3512, allocations: 320.2 kB / 0.5122 GB, free: 4.422 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01216/0.3633, allocations: 6.107 MB / 0.5181 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3633, allocations: 0 / 0.5181 GB, free: 14.3 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3633, allocations: 0 / 0.5181 GB, free: 14.3 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.3634, allocations: 4 kB / 0.5181 GB, free: 14.3 MB / 430.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.004343/0.3677, allocations: 1.592 MB / 0.5197 GB, free: 12.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.3677, allocations: 8.031 kB / 0.5197 GB, free: 12.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/0.3693, allocations: 224.2 kB / 0.5199 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000968/0.3702, allocations: 0.5 MB / 0.5204 GB, free: 11.92 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.3704, allocations: 172.7 kB / 0.5205 GB, free: 11.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3705, allocations: 60.33 kB / 0.5206 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/0.3727, allocations: 1.319 MB / 0.5219 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/0.3727, allocations: 3.938 kB / 0.5219 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-05/0.3728, allocations: 35.92 kB / 0.5219 GB, free: 10.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/0.3729, allocations: 48.97 kB / 0.522 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.3746, allocations: 0.8115 MB / 0.5228 GB, free: 9.281 MB / 430.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.005579/0.3802, allocations: 4.476 MB / 0.5271 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.3815, allocations: 0.519 MB / 0.5276 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.3819, allocations: 202.4 kB / 0.5278 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09645/0.4783, allocations: 26.11 MB / 0.5533 GB, free: 9.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.4784, allocations: 42.56 kB / 0.5534 GB, free: 9.699 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.084e-06/0.4784, allocations: 3.938 kB / 0.5534 GB, free: 9.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.006699/0.4851, allocations: 2.064 MB / 0.5554 GB, free: 7.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.4852, allocations: 183.9 kB / 0.5556 GB, free: 7.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007121/0.4859, allocations: 0.5573 MB / 0.5561 GB, free: 6.797 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.486, allocations: 33.7 kB / 0.5562 GB, free: 6.758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.4863, allocations: 419.9 kB / 0.5566 GB, free: 6.344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.4864, allocations: 178.5 kB / 0.5567 GB, free: 6.168 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.4866, allocations: 150.6 kB / 0.5569 GB, free: 6.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.4868, allocations: 386.8 kB / 0.5572 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.4873, allocations: 225.9 kB / 0.5575 GB, free: 5.41 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007656/0.488, allocations: 0.6689 MB / 0.5581 GB, free: 4.551 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/0.4892, allocations: 0.8643 MB / 0.5589 GB, free: 3.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4892, allocations: 4 kB / 0.559 GB, free: 3.52 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001528/0.4907, allocations: 0.8881 MB / 0.5598 GB, free: 2.621 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4908, allocations: 12 kB / 0.5598 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.4908, allocations: 15.98 kB / 0.5598 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/0.4942, allocations: 269.4 kB / 0.5601 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.4954, allocations: 276.5 kB / 0.5604 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.4975, allocations: 1.996 MB / 0.5623 GB, free: 15.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.498, allocations: 28 kB / 0.5623 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.864e-05/0.4981, allocations: 43.98 kB / 0.5624 GB, free: 15.87 MB / 478.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.0004045/0.4985, allocations: 274.6 kB / 0.5626 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/0.4986, allocations: 70.89 kB / 0.5627 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.5013, allocations: 2.105 MB / 0.5648 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.787e-05/0.5013, allocations: 23.97 kB / 0.5648 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.5013, allocations: 0 / 0.5648 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.5013, allocations: 3.984 kB / 0.5648 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/0.505, allocations: 2.817 MB / 0.5675 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.505, allocations: 0 / 0.5675 GB, free: 10.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009826/0.506, allocations: 187.8 kB / 0.5677 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001834/0.5078, allocations: 316.5 kB / 0.568 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.5078, allocations: 8 kB / 0.568 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/0.5096, allocations: 2.06 MB / 0.57 GB, free: 7.832 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.5096, allocations: 3.984 kB / 0.5701 GB, free: 7.828 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.512, allocations: 1.986 MB / 0.572 GB, free: 5.824 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.5123, allocations: 143.1 kB / 0.5721 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.5124, allocations: 31.83 kB / 0.5722 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.5128, allocations: 16 kB / 0.5722 GB, free: 5.637 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.5129, allocations: 32.44 kB / 0.5722 GB, free: 5.605 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.604e-05/0.5129, allocations: 19.98 kB / 0.5722 GB, free: 5.586 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006664/0.5136, allocations: 0.5029 MB / 0.5727 GB, free: 5.082 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5136, allocations: 0 / 0.5727 GB, free: 5.082 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003357/0.5169, allocations: 1.108 MB / 0.5738 GB, free: 3.973 MB / 478.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.004184/0.5211, allocations: 1.336 MB / 0.5751 GB, free: 2.625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.5232, allocations: 0.9098 MB / 0.576 GB, free: 1.715 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5232, allocations: 4 kB / 0.576 GB, free: 1.711 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.5245, allocations: 0.601 MB / 0.5766 GB, free: 1.113 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.5263, allocations: 327.7 kB / 0.5769 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.5297, allocations: 2.071 MB / 0.5789 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.5302, allocations: 0.496 MB / 0.5794 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007052/0.5309, allocations: 337.5 kB / 0.5797 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.5311, allocations: 64.48 kB / 0.5798 GB, free: 13.78 MB / 494.1 MB Notification: Performance of SimCode: time 9.31e-07/0.5311, allocations: 3.938 kB / 0.5798 GB, free: 13.77 MB / 494.1 MB Notification: Performance of Templates: time 0.09235/0.6234, allocations: 44.12 MB / 0.6229 GB, free: 1.875 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.281168714165688]