Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.001479/0.001479, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002009/0.002009, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 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 1.502/1.502, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 63.92 kB / 347.7 MB, free: 9.332 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.263, allocations: 49.16 MB / 396.9 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01189/0.2749, allocations: 11.9 MB / 408.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.277, allocations: 1.61 MB / 410.4 MB, free: 244 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.2771, allocations: 7.938 kB / 410.4 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.2777, allocations: 160.9 kB / 410.6 MB, free: 152 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.2784, allocations: 316.4 kB / 410.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.2798, allocations: 422.5 kB / 411.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.2812, allocations: 0.8376 MB / 412.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002618/0.2815, allocations: 74.95 kB / 412.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.2825, allocations: 405.1 kB / 412.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000569/0.2831, allocations: 265 kB / 412.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.604e-05/0.2832, allocations: 28.5 kB / 412.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003606/0.2835, allocations: 94.86 kB / 413 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.2837, allocations: 93.94 kB / 413.1 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002413/0.2839, allocations: 155.9 kB / 413.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007235/0.2847, allocations: 473.2 kB / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.2847, allocations: 0 / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.2847, allocations: 0 / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.2847, allocations: 4 kB / 413.7 MB, free: 14.44 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.000973/0.2856, allocations: 0.5125 MB / 414.2 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.2857, allocations: 17.25 kB / 414.2 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000311/0.286, allocations: 40.56 kB / 414.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.2866, allocations: 232.1 kB / 414.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.2866, allocations: 19.34 kB / 414.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.654e-05/0.2867, allocations: 27.81 kB / 414.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.2875, allocations: 0.544 MB / 415.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2875, allocations: 1.094 kB / 415.1 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.2875, allocations: 11.69 kB / 415.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2875, allocations: 10.72 kB / 415.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003872/0.2879, allocations: 193 kB / 415.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.29, allocations: 1.329 MB / 416.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.2903, allocations: 126.2 kB / 416.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.2904, allocations: 60.81 kB / 416.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.762e-05/0.2905, allocations: 18.92 kB / 416.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.2905, allocations: 32.34 kB / 416.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.783e-06/0.2905, allocations: 0 / 416.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001812/0.2923, allocations: 0.6488 MB / 417.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.2924, allocations: 53.94 kB / 417.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/0.2927, allocations: 252 kB / 417.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2927, allocations: 35.8 kB / 417.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.2929, allocations: 205.3 kB / 418 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.293, allocations: 84.42 kB / 418.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2931, allocations: 62.55 kB / 418.2 MB, free: 10.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2933, allocations: 337.5 kB / 418.5 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.2934, allocations: 67.5 kB / 418.6 MB, free: 10.4 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.2936, allocations: 189.1 kB / 418.7 MB, free: 10.21 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.294, allocations: 276.6 kB / 419 MB, free: 9.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.294, allocations: 5.344 kB / 419 MB, free: 9.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005683/0.2946, allocations: 331.7 kB / 419.3 MB, free: 9.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2946, allocations: 7.688 kB / 419.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2946, allocations: 3.938 kB / 419.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.2947, allocations: 30.11 kB / 419.4 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.295, allocations: 88.73 kB / 419.5 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/0.2963, allocations: 1.26 MB / 420.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.2965, allocations: 8.75 kB / 420.7 MB, free: 8.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.2965, allocations: 17.44 kB / 420.8 MB, free: 8.461 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.2967, allocations: 162.9 kB / 420.9 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.902e-05/0.2968, allocations: 33.02 kB / 421 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.2972, allocations: 208.6 kB / 421.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2972, allocations: 2.094 kB / 421.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.2972, allocations: 0 / 421.2 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004698/0.2977, allocations: 491.8 kB / 421.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.2988, allocations: 0.6115 MB / 422.2 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.2988, allocations: 2.188 kB / 422.3 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.299, allocations: 42.38 kB / 422.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.299, allocations: 3.469 kB / 422.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.299, allocations: 8.312 kB / 422.3 MB, free: 7.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.299, allocations: 7.594 kB / 422.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.299, allocations: 2.875 kB / 422.3 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.2995, allocations: 397.8 kB / 422.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.2995, allocations: 28.62 kB / 422.7 MB, free: 6.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2996, allocations: 8.812 kB / 422.7 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/0.2998, allocations: 8.844 kB / 422.7 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.2998, allocations: 23.5 kB / 422.8 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.998e-05/0.2999, allocations: 19.08 kB / 422.8 MB, free: 6.754 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001855/0.3, allocations: 169.4 kB / 423 MB, free: 6.633 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3, allocations: 3.938 kB / 423 MB, free: 6.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004796/0.3005, allocations: 94.69 kB / 423.1 MB, free: 6.617 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.3008, allocations: 141.1 kB / 423.2 MB, free: 6.504 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.3013, allocations: 298.3 kB / 423.5 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3013, allocations: 6.188 kB / 423.5 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3014, allocations: 70.77 kB / 423.6 MB, free: 6.27 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007701/0.3022, allocations: 122.2 kB / 423.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.3032, allocations: 0.6178 MB / 424.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001603/0.3034, allocations: 151.2 kB / 424.4 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.3037, allocations: 46.47 kB / 424.5 MB, free: 5.609 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3037, allocations: 41.41 kB / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3037, allocations: 0 / 424.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of Templates: time 0.01086/0.3146, allocations: 5.238 MB / 429.8 MB, free: 1.398 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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: 4.738134516403079]