Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 107 kB / 20.32 MB, free: 1.75 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 193.1 kB / 23.47 MB, free: 5.469 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 207.6 MB / 234.1 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 54.42 kB / 345.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2487, allocations: 49.12 MB / 395 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01507/0.2638, allocations: 15.95 MB / 410.9 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.2667, allocations: 1.924 MB / 412.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2669, allocations: 4 kB / 412.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006041/0.2675, allocations: 175 kB / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006339/0.2681, allocations: 310.1 kB / 413.3 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007/0.2688, allocations: 280.5 kB / 413.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009761/0.2698, allocations: 0.8464 MB / 414.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.27, allocations: 81.91 kB / 414.5 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2711, allocations: 0.5188 MB / 415 MB, free: 11.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.2715, allocations: 289 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.2716, allocations: 29.91 kB / 415.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.2717, allocations: 37.41 kB / 415.4 MB, free: 11.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2718, allocations: 100.6 kB / 415.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.2721, allocations: 178.3 kB / 415.7 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.2726, allocations: 441 kB / 416.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2727, allocations: 0 / 416.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2727, allocations: 0 / 416.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2727, allocations: 1.156 kB / 416.1 MB, free: 10.72 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001007/0.2737, allocations: 0.588 MB / 416.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.2737, allocations: 13.67 kB / 416.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.274, allocations: 40.22 kB / 416.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004972/0.2745, allocations: 288.6 kB / 417 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2745, allocations: 19.94 kB / 417 MB, free: 9.883 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.485e-05/0.2746, allocations: 32.12 kB / 417.1 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.2751, allocations: 306.3 kB / 417.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.2751, allocations: 0 / 417.4 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.785e-05/0.2751, allocations: 15.45 kB / 417.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.2751, allocations: 7.469 kB / 417.4 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003295/0.2755, allocations: 188.4 kB / 417.6 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2773, allocations: 1.443 MB / 419 MB, free: 8.18 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.2777, allocations: 172.1 kB / 419.2 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.2778, allocations: 89.58 kB / 419.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.2779, allocations: 2.938 kB / 419.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.2779, allocations: 33.25 kB / 419.3 MB, free: 7.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.2779, allocations: 3.938 kB / 419.3 MB, free: 7.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002616/0.2805, allocations: 1.009 MB / 420.3 MB, free: 7.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.2806, allocations: 58.91 kB / 420.4 MB, free: 7.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.2809, allocations: 257.7 kB / 420.6 MB, free: 7.012 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.2809, allocations: 31.8 kB / 420.6 MB, free: 6.977 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2811, allocations: 182 kB / 420.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.2812, allocations: 102.7 kB / 420.9 MB, free: 6.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2813, allocations: 65 kB / 421 MB, free: 6.668 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2814, allocations: 333.4 kB / 421.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.2816, allocations: 82.97 kB / 421.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.2818, allocations: 187.3 kB / 421.6 MB, free: 6.133 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.2822, allocations: 280.3 kB / 421.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2822, allocations: 1.219 kB / 421.9 MB, free: 5.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000714/0.283, allocations: 389 kB / 422.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.283, allocations: 6.781 kB / 422.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.283, allocations: 2.625 kB / 422.2 MB, free: 5.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002607/0.2832, allocations: 65.27 kB / 422.3 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.2835, allocations: 68.31 kB / 422.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002684/0.2862, allocations: 2.888 MB / 425.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002819/0.2865, allocations: 12.38 kB / 425.3 MB, free: 2.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.2865, allocations: 15.69 kB / 425.3 MB, free: 2.664 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002008/0.2867, allocations: 154.8 kB / 425.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.534e-05/0.2868, allocations: 29.91 kB / 425.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.482e-05/0.2869, allocations: 36.2 kB / 425.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2869, allocations: 2.875 kB / 425.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.2869, allocations: 0 / 425.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006927/0.2876, allocations: 0.5664 MB / 426.1 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.2888, allocations: 0.6953 MB / 426.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2888, allocations: 1.562 kB / 426.8 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.289, allocations: 42.11 kB / 426.8 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.2892, allocations: 56.7 kB / 426.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.2893, allocations: 10.41 kB / 426.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.2907, allocations: 1.49 MB / 428.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2907, allocations: 3.938 kB / 428.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.2914, allocations: 476.6 kB / 428.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.2915, allocations: 99.97 kB / 428.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.2916, allocations: 10.75 kB / 428.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2918, allocations: 9.359 kB / 429 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.69e-05/0.2918, allocations: 12.23 kB / 429 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.2919, allocations: 14.86 kB / 429 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002027/0.2921, allocations: 187.5 kB / 429.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2921, allocations: 0 / 429.2 MB, free: 15.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004378/0.2925, allocations: 86.38 kB / 429.2 MB, free: 15.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/0.2926, allocations: 114.2 kB / 429.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000863/0.2935, allocations: 458.9 kB / 429.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2935, allocations: 9.25 kB / 429.8 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.2939, allocations: 225.5 kB / 430 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.2948, allocations: 156 kB / 430.2 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.2962, allocations: 0.7408 MB / 430.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.2966, allocations: 0.7617 MB / 431.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.011e-05/0.2967, allocations: 31.91 kB / 431.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2967, allocations: 0 / 431.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of Templates: time 0.009537/0.3062, allocations: 5.997 MB / 437.7 MB, free: 7.941 MB / 350.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches