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.0009281/0.0009281, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003959/0.003959, allocations: 160 kB / 24.7 MB, free: 9.426 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.9511/0.9511, allocations: 177.1 MB / 205 MB, free: 5.723 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.2372/0.2372, allocations: 32.79 MB / 294.2 MB, free: 1.188 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.413e-06/1.413e-06, allocations: 0 / 440.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.716e-05/2.857e-05, allocations: 9.172 kB / 440.9 MB, free: 3.703 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.1709/0.1709, allocations: 35.64 MB / 476.5 MB, free: 24.53 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01143/0.1823, allocations: 18.02 MB / 494.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005471/0.1829, allocations: 31.84 kB / 494.6 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008109/0.1837, allocations: 411.8 kB / 495 MB, free: 12.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009259/0.193, allocations: 5.196 MB / 0.4884 GB, free: 10.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004994/0.198, allocations: 2.599 MB / 0.491 GB, free: 8.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.2002, allocations: 2.003 MB / 0.4929 GB, free: 7.906 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005809/0.2008, allocations: 426.7 kB / 0.4933 GB, free: 7.699 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005867/0.2066, allocations: 4.399 MB / 0.4976 GB, free: 5.715 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006476/0.2131, allocations: 5.439 MB / 0.5029 GB, free: 3.312 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.2133, allocations: 65.47 kB / 0.503 GB, free: 3.312 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.2236, allocations: 6.937 MB / 0.5098 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003841/0.224, allocations: 289.9 kB / 0.5101 GB, free: 316 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.2245, allocations: 324.6 kB / 0.5104 GB, free: 164 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.2368, allocations: 6.102 MB / 0.5163 GB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2368, allocations: 0 / 0.5163 GB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2368, allocations: 1.844 kB / 0.5163 GB, free: 11.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.2368, allocations: 0 / 0.5163 GB, free: 11.99 MB / 426.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.004017/0.2409, allocations: 1.589 MB / 0.5179 GB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2409, allocations: 9.625 kB / 0.5179 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008593/0.2418, allocations: 227.9 kB / 0.5181 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006816/0.2424, allocations: 0.5018 MB / 0.5186 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.2426, allocations: 168.6 kB / 0.5188 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/0.2426, allocations: 64.33 kB / 0.5188 GB, free: 9.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.2442, allocations: 1.322 MB / 0.5201 GB, free: 8.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.2442, allocations: 7.875 kB / 0.5201 GB, free: 8.473 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/0.2443, allocations: 32 kB / 0.5202 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.178e-05/0.2444, allocations: 40.98 kB / 0.5202 GB, free: 8.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.2459, allocations: 0.8154 MB / 0.521 GB, free: 7.586 MB / 426.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.004882/0.2508, allocations: 4.481 MB / 0.5254 GB, free: 2.938 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.2519, allocations: 0.5152 MB / 0.5259 GB, free: 2.395 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.2522, allocations: 198.5 kB / 0.5261 GB, free: 2.191 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06607/0.3183, allocations: 26.11 MB / 0.5516 GB, free: 8.055 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.3184, allocations: 46.55 kB / 0.5516 GB, free: 8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.046e-06/0.3184, allocations: 0 / 0.5516 GB, free: 8 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.004066/0.3224, allocations: 2.062 MB / 0.5536 GB, free: 5.898 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.3225, allocations: 187.9 kB / 0.5538 GB, free: 5.672 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004774/0.323, allocations: 0.5611 MB / 0.5543 GB, free: 5.098 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.857e-05/0.323, allocations: 33.7 kB / 0.5544 GB, free: 5.059 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.3232, allocations: 420 kB / 0.5548 GB, free: 4.645 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.3233, allocations: 170.5 kB / 0.5549 GB, free: 4.477 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.3234, allocations: 154.6 kB / 0.5551 GB, free: 4.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3236, allocations: 382.6 kB / 0.5554 GB, free: 3.938 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.3238, allocations: 229.9 kB / 0.5557 GB, free: 3.711 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/0.3242, allocations: 0.665 MB / 0.5563 GB, free: 2.855 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.3249, allocations: 0.8629 MB / 0.5572 GB, free: 1.832 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3249, allocations: 4 kB / 0.5572 GB, free: 1.828 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008744/0.3258, allocations: 0.8887 MB / 0.558 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.3258, allocations: 12.94 kB / 0.558 GB, free: 0.918 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.3258, allocations: 15.98 kB / 0.5581 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001431/0.3273, allocations: 272.5 kB / 0.5583 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005915/0.3279, allocations: 274.8 kB / 0.5586 GB, free: 376 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.329, allocations: 1.999 MB / 0.5605 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.3293, allocations: 33.39 kB / 0.5606 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3293, allocations: 40 kB / 0.5606 GB, free: 14.18 MB / 474.7 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.0002572/0.3296, allocations: 281.5 kB / 0.5609 GB, free: 13.89 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.3296, allocations: 71.58 kB / 0.5609 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001456/0.3311, allocations: 2.097 MB / 0.563 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.3311, allocations: 23.97 kB / 0.563 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.3311, allocations: 3.938 kB / 0.563 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.3311, allocations: 7.984 kB / 0.563 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.3332, allocations: 2.808 MB / 0.5658 GB, free: 8.828 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.3332, allocations: 3.984 kB / 0.5658 GB, free: 8.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.3336, allocations: 187.8 kB / 0.5659 GB, free: 8.641 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000777/0.3344, allocations: 308.4 kB / 0.5662 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.3344, allocations: 8 kB / 0.5663 GB, free: 8.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009581/0.3354, allocations: 2.057 MB / 0.5683 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3354, allocations: 0 / 0.5683 GB, free: 6.148 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3367, allocations: 1.99 MB / 0.5702 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.3369, allocations: 143.2 kB / 0.5703 GB, free: 4 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.3369, allocations: 31.78 kB / 0.5704 GB, free: 3.969 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.3371, allocations: 17.31 kB / 0.5704 GB, free: 3.953 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.3372, allocations: 32.44 kB / 0.5704 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.3372, allocations: 23.92 kB / 0.5704 GB, free: 3.898 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003896/0.3376, allocations: 0.5068 MB / 0.5709 GB, free: 3.391 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3376, allocations: 128 / 0.5709 GB, free: 3.391 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002778/0.3404, allocations: 1.108 MB / 0.572 GB, free: 2.281 MB / 474.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.00253/0.3429, allocations: 1.335 MB / 0.5733 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.344, allocations: 0.9056 MB / 0.5742 GB, free: 36 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.344, allocations: 0 / 0.5742 GB, free: 36 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006115/0.3446, allocations: 0.5931 MB / 0.5748 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/0.3455, allocations: 323.6 kB / 0.5751 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.3475, allocations: 2.12 MB / 0.5772 GB, free: 12.97 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.3478, allocations: 499.9 kB / 0.5776 GB, free: 12.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.908e-05/0.3479, allocations: 68.48 kB / 0.5777 GB, free: 12.39 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3479, allocations: 0 / 0.5777 GB, free: 12.39 MB / 490.7 MB Notification: Performance of Templates: time 0.02986/0.3777, allocations: 37.1 MB / 0.6139 GB, free: 7.309 MB / 0.5105 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.41666972823441]