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.001075/0.001075, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001422/0.001422, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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 0.926/0.926, allocations: 158.6 MB / 185.9 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] 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.1439/0.1439, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.904e-06/1.904e-06, allocations: 0 / 348.1 MB, free: 9.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.791e-05, allocations: 4.281 kB / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01484/0.01486, allocations: 16.51 MB / 364.6 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.03093, allocations: 13.78 MB / 378.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004565/0.03139, allocations: 27.75 kB / 378.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006908/0.03208, allocations: 254.2 kB / 378.7 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01068/0.04276, allocations: 4.943 MB / 383.6 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.04707, allocations: 1.955 MB / 385.6 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001998/0.04906, allocations: 2.043 MB / 387.6 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.04963, allocations: 445.9 kB / 388.1 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01191/0.06154, allocations: 7.615 MB / 395.7 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.06495, allocations: 2.182 MB / 397.9 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.06509, allocations: 64 kB / 397.9 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/0.07521, allocations: 6.742 MB / 404.7 MB, free: 316 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.07547, allocations: 299.1 kB / 405 MB, free: 16 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004144/0.07588, allocations: 319.3 kB / 405.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008761/0.08465, allocations: 5.562 MB / 410.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.08465, allocations: 7.938 kB / 410.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.08465, allocations: 0 / 410.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.08466, allocations: 0 / 410.8 MB, free: 10.12 MB / 346.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.002943/0.0876, allocations: 1.642 MB / 412.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.08765, allocations: 8.031 kB / 412.5 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009219/0.08857, allocations: 363.4 kB / 412.9 MB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/0.08917, allocations: 0.5123 MB / 413.4 MB, free: 7.535 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.08929, allocations: 160.7 kB / 413.5 MB, free: 7.352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/0.08937, allocations: 68.36 kB / 413.6 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.09048, allocations: 1.15 MB / 414.7 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.0905, allocations: 15.89 kB / 414.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.09054, allocations: 24 kB / 414.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.827e-05/0.09059, allocations: 48.92 kB / 414.8 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.09121, allocations: 414.2 kB / 415.2 MB, free: 5.426 MB / 346.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.003269/0.09448, allocations: 5.468 MB / 420.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005449/0.09502, allocations: 373.3 kB / 421.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.09512, allocations: 102.9 kB / 421.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1924/0.2875, allocations: 21.78 MB / 442.9 MB, free: 68.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.156e-05/0.2876, allocations: 47.52 kB / 443 MB, free: 68.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 5.651e-06/0.2876, allocations: 0 / 443 MB, free: 68.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003968/0.2915, allocations: 1.326 MB / 444.3 MB, free: 67.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2916, allocations: 186.2 kB / 444.5 MB, free: 67.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.292, allocations: 0.5681 MB / 445.1 MB, free: 67.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.292, allocations: 36.17 kB / 445.1 MB, free: 67.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.2923, allocations: 486.8 kB / 445.6 MB, free: 67.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2924, allocations: 171.8 kB / 445.7 MB, free: 67.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.2925, allocations: 177 kB / 445.9 MB, free: 67.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2927, allocations: 0.5554 MB / 446.5 MB, free: 66.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.2928, allocations: 79.09 kB / 446.6 MB, free: 66.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003249/0.2931, allocations: 0.7051 MB / 447.3 MB, free: 65.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.2937, allocations: 0.7688 MB / 448 MB, free: 65.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.2937, allocations: 2.625 kB / 448 MB, free: 65.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0008683/0.2946, allocations: 0.6572 MB / 448.7 MB, free: 64.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.2946, allocations: 12.72 kB / 448.7 MB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.2946, allocations: 12.66 kB / 448.7 MB, free: 64.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.2961, allocations: 263.8 kB / 449 MB, free: 64.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.2967, allocations: 257.3 kB / 449.2 MB, free: 64.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04032/0.337, allocations: 21.81 MB / 471 MB, free: 49.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.3376, allocations: 27.81 kB / 471.1 MB, free: 49.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.3377, allocations: 43.73 kB / 471.1 MB, free: 49.52 MB / 362.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.0002896/0.3379, allocations: 226.4 kB / 471.3 MB, free: 49.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.3381, allocations: 83.45 kB / 471.4 MB, free: 49.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008958/0.339, allocations: 1.177 MB / 472.6 MB, free: 48.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.339, allocations: 22.72 kB / 472.6 MB, free: 48.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.339, allocations: 0 / 472.6 MB, free: 48.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.339, allocations: 3.984 kB / 472.6 MB, free: 48.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.3403, allocations: 1.664 MB / 474.3 MB, free: 46.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3403, allocations: 5.312 kB / 474.3 MB, free: 46.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.3407, allocations: 157.5 kB / 474.4 MB, free: 46.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/0.3415, allocations: 331.5 kB / 474.7 MB, free: 46.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.3415, allocations: 11.61 kB / 474.8 MB, free: 46.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.3429, allocations: 3.65 MB / 478.4 MB, free: 42.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3429, allocations: 0 / 478.4 MB, free: 42.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008017/0.3437, allocations: 1.252 MB / 479.7 MB, free: 41.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3439, allocations: 134 kB / 479.8 MB, free: 41.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.3439, allocations: 36.31 kB / 479.8 MB, free: 41.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.3441, allocations: 11.81 kB / 479.8 MB, free: 41.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.69e-05/0.3442, allocations: 38.5 kB / 479.9 MB, free: 41.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.3442, allocations: 15.55 kB / 479.9 MB, free: 41.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.3445, allocations: 433.9 kB / 480.3 MB, free: 40.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3445, allocations: 0 / 480.3 MB, free: 40.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00307/0.3475, allocations: 1.101 MB / 481.4 MB, free: 40.02 MB / 362.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.005406/0.3529, allocations: 1.327 MB / 482.7 MB, free: 38.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.3544, allocations: 0.75 MB / 483.5 MB, free: 38.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.3544, allocations: 0 / 483.5 MB, free: 38.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.355, allocations: 0.5045 MB / 484 MB, free: 37.67 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3561, allocations: 366.2 kB / 484.4 MB, free: 37.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.3584, allocations: 1.815 MB / 486.2 MB, free: 35.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.3585, allocations: 248.9 kB / 486.4 MB, free: 35.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004263/0.3589, allocations: 263.7 kB / 486.7 MB, free: 35.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/0.3594, allocations: 349.2 kB / 487 MB, free: 34.86 MB / 362.7 MB Notification: Performance of SimCode: time 3.807e-06/0.3594, allocations: 2.844 kB / 487 MB, free: 34.86 MB / 362.7 MB Notification: Performance of Templates: time 0.0543/0.4137, allocations: 51.24 MB / 0.5256 GB, free: 80 kB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] 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","",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.682658121921122]