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.001662/0.001662, allocations: 110.1 kB / 21.93 MB, free: 5.223 MB / 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.001751/0.001751, allocations: 214 kB / 25.23 MB, free: 3.027 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.536/1.536, allocations: 207.7 MB / 236.1 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.001906/0.001906, allocations: 59.92 kB / 348.5 MB, free: 9.34 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3214, allocations: 49.16 MB / 397.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01334/0.3348, allocations: 11.9 MB / 409.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002624/0.3374, allocations: 1.603 MB / 411.2 MB, free: 232 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.3376, allocations: 12.12 kB / 411.2 MB, free: 224 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006217/0.3382, allocations: 161.1 kB / 411.3 MB, free: 136 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000759/0.339, allocations: 315.8 kB / 411.6 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3403, allocations: 413.9 kB / 412 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.3416, allocations: 0.8377 MB / 412.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.3418, allocations: 69.27 kB / 412.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009195/0.3427, allocations: 411 kB / 413.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.3432, allocations: 268.7 kB / 413.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.318e-05/0.3433, allocations: 28.47 kB / 413.6 MB, free: 14.92 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002974/0.3436, allocations: 85.5 kB / 413.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00015/0.3437, allocations: 102.5 kB / 413.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3439, allocations: 147.5 kB / 414 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.3446, allocations: 480.5 kB / 414.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3446, allocations: 3.938 kB / 414.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3446, allocations: 1.094 kB / 414.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3446, allocations: 0 / 414.4 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.001012/0.3457, allocations: 0.5159 MB / 414.9 MB, free: 14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3457, allocations: 12.52 kB / 415 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.346, allocations: 41.22 kB / 415 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005604/0.3466, allocations: 231.9 kB / 415.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3466, allocations: 19.16 kB / 415.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/0.3467, allocations: 24.19 kB / 415.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007298/0.3474, allocations: 0.5439 MB / 415.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.3474, allocations: 5.062 kB / 415.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.3474, allocations: 15.91 kB / 415.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3475, allocations: 6.594 kB / 415.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.3478, allocations: 193.1 kB / 416 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3499, allocations: 1.33 MB / 417.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.3501, allocations: 125.8 kB / 417.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3502, allocations: 58 kB / 417.5 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.3503, allocations: 14.58 kB / 417.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3504, allocations: 38.12 kB / 417.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.3504, allocations: 0 / 417.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001861/0.3522, allocations: 0.652 MB / 418.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3523, allocations: 53.69 kB / 418.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.3526, allocations: 255.2 kB / 418.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.3526, allocations: 31.83 kB / 418.6 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3528, allocations: 204.9 kB / 418.8 MB, free: 10.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/0.3529, allocations: 80.27 kB / 418.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.353, allocations: 64.08 kB / 418.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.3532, allocations: 343.9 kB / 419.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3533, allocations: 68.78 kB / 419.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.3535, allocations: 187.4 kB / 419.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.3539, allocations: 281.5 kB / 419.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3539, allocations: 1.344 kB / 419.8 MB, free: 9.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005425/0.3545, allocations: 335.9 kB / 420.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3545, allocations: 7.688 kB / 420.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3545, allocations: 3.406 kB / 420.1 MB, free: 9.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001012/0.3546, allocations: 22.42 kB / 420.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.3549, allocations: 88.61 kB / 420.2 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001265/0.3562, allocations: 1.265 MB / 421.5 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.3564, allocations: 12.75 kB / 421.5 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.833e-05/0.3565, allocations: 21.2 kB / 421.5 MB, free: 8.441 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.0002173/0.3567, allocations: 151.6 kB / 421.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.3568, allocations: 29.05 kB / 421.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.3572, allocations: 203.4 kB / 421.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3572, allocations: 2.281 kB / 421.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.3572, allocations: 0 / 421.9 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000455/0.3576, allocations: 488.4 kB / 422.4 MB, free: 7.652 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3588, allocations: 0.6113 MB / 423 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.3588, allocations: 6.531 kB / 423 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.359, allocations: 50.66 kB / 423 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.359, allocations: 3.375 kB / 423 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.359, allocations: 8.25 kB / 423.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.359, allocations: 3.344 kB / 423.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.359, allocations: 2.469 kB / 423.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005254/0.3596, allocations: 397.8 kB / 423.5 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.3596, allocations: 28.94 kB / 423.5 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.3597, allocations: 8.688 kB / 423.5 MB, free: 6.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.3599, allocations: 12.78 kB / 423.5 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.3599, allocations: 24.06 kB / 423.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/0.36, allocations: 13.39 kB / 423.5 MB, free: 6.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.3602, allocations: 174.3 kB / 423.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3602, allocations: 0 / 423.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006389/0.3608, allocations: 94.84 kB / 423.8 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.0003128/0.3611, allocations: 144.5 kB / 423.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.3617, allocations: 299.1 kB / 424.2 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3617, allocations: 1.156 kB / 424.2 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.3619, allocations: 76.22 kB / 424.3 MB, free: 6.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/0.3627, allocations: 117.6 kB / 424.4 MB, free: 6.199 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.3639, allocations: 0.6498 MB / 425.1 MB, free: 5.707 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.3641, allocations: 151.6 kB / 425.2 MB, free: 5.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.851e-05/0.3642, allocations: 36.3 kB / 425.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3642, allocations: 0 / 425.3 MB, free: 5.578 MB / 334.1 MB Notification: Performance of Templates: time 0.009112/0.3733, allocations: 4.929 MB / 430.2 MB, free: 1.75 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/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.036738017573953]