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.001397/0.001397, allocations: 112.2 kB / 21.94 MB, free: 12 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.001579/0.001579, allocations: 200.8 kB / 25.23 MB, free: 3.539 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.516/1.516, allocations: 207.6 MB / 236 MB, free: 9.988 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.001847/0.001847, allocations: 52.2 kB / 348.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2583, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01248/0.2708, allocations: 13.08 MB / 410.7 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.2736, allocations: 1.71 MB / 412.4 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002279/0.2739, allocations: 8.062 kB / 412.4 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006191/0.2745, allocations: 178.7 kB / 412.6 MB, free: 14.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007335/0.2752, allocations: 319.4 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.2764, allocations: 421.9 kB / 413.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.2777, allocations: 0.8465 MB / 414.2 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.2779, allocations: 72.02 kB / 414.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008565/0.2788, allocations: 402.7 kB / 414.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004373/0.2792, allocations: 277 kB / 414.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.124e-05/0.2793, allocations: 32.41 kB / 415 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002962/0.2796, allocations: 100.7 kB / 415.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.2797, allocations: 105.6 kB / 415.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.2799, allocations: 175.4 kB / 415.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.2805, allocations: 471.8 kB / 415.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2805, allocations: 1.938 kB / 415.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2806, allocations: 0 / 415.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.2806, allocations: 0 / 415.8 MB, free: 13.14 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.0009039/0.2815, allocations: 0.5146 MB / 416.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2815, allocations: 17.7 kB / 416.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.2818, allocations: 48.33 kB / 416.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.2823, allocations: 228.9 kB / 416.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.2824, allocations: 18.44 kB / 416.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.2824, allocations: 23.75 kB / 416.6 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.283, allocations: 323.2 kB / 416.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.283, allocations: 1.25 kB / 416.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.283, allocations: 12.53 kB / 417 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.283, allocations: 6.812 kB / 417 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.2834, allocations: 198.5 kB / 417.2 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.2855, allocations: 1.604 MB / 418.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.2857, allocations: 128.2 kB / 418.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2858, allocations: 59.47 kB / 418.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-05/0.2859, allocations: 18.23 kB / 419 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.286, allocations: 36.94 kB / 419 MB, free: 10.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.286, allocations: 0 / 419 MB, free: 10.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001716/0.2877, allocations: 0.6572 MB / 419.7 MB, free: 9.977 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.2877, allocations: 58.47 kB / 419.7 MB, free: 9.91 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.288, allocations: 282.8 kB / 420 MB, free: 9.719 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.2881, allocations: 31.52 kB / 420 MB, free: 9.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.2882, allocations: 190.7 kB / 420.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.2883, allocations: 90.06 kB / 420.3 MB, free: 9.43 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.2884, allocations: 62.02 kB / 420.4 MB, free: 9.387 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2886, allocations: 336.8 kB / 420.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.2887, allocations: 64.84 kB / 420.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.289, allocations: 192.2 kB / 420.9 MB, free: 8.832 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.2893, allocations: 281.8 kB / 421.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2893, allocations: 1.062 kB / 421.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005406/0.2899, allocations: 337.9 kB / 421.5 MB, free: 8.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2899, allocations: 11.91 kB / 421.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.2899, allocations: 3.469 kB / 421.6 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001009/0.29, allocations: 26.11 kB / 421.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003138/0.2903, allocations: 84.17 kB / 421.7 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.2915, allocations: 1.29 MB / 423 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2917, allocations: 8.062 kB / 423 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.2918, allocations: 17.12 kB / 423 MB, free: 7.035 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.0001784/0.2919, allocations: 159.1 kB / 423.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.292, allocations: 34.09 kB / 423.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003763/0.2924, allocations: 208.2 kB / 423.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2924, allocations: 1.875 kB / 423.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.2924, allocations: 5.188 kB / 423.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004468/0.2928, allocations: 479.3 kB / 423.8 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.294, allocations: 0.6755 MB / 424.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.294, allocations: 2.5 kB / 424.5 MB, free: 5.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2941, allocations: 46.55 kB / 424.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2941, allocations: 3.75 kB / 424.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2942, allocations: 17.28 kB / 424.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.2942, allocations: 6.078 kB / 424.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2942, allocations: 3.531 kB / 424.6 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.2947, allocations: 403.4 kB / 425 MB, free: 5.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.2947, allocations: 29.75 kB / 425 MB, free: 5.281 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.2948, allocations: 11.48 kB / 425 MB, free: 5.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.295, allocations: 8.531 kB / 425 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.295, allocations: 23.84 kB / 425.1 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.295, allocations: 13.91 kB / 425.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.2953, allocations: 210.5 kB / 425.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2953, allocations: 0 / 425.3 MB, free: 5.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004725/0.2957, allocations: 95.03 kB / 425.4 MB, free: 5.098 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.000265/0.296, allocations: 140.8 kB / 425.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005088/0.2965, allocations: 294.4 kB / 425.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.2965, allocations: 1.156 kB / 425.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.2967, allocations: 72.56 kB / 425.9 MB, free: 4.758 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000896/0.2976, allocations: 153.8 kB / 426 MB, free: 4.676 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.2987, allocations: 0.6701 MB / 426.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.2991, allocations: 0.7585 MB / 427.5 MB, free: 3.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/0.2992, allocations: 34.7 kB / 427.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2992, allocations: 0 / 427.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of Templates: time 0.008584/0.3078, allocations: 5.246 MB / 432.7 MB, free: 15.35 MB / 350.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/jenkins1/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/jenkins1/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: 8.028901929967105]