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.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.00136/0.00136, allocations: 105.7 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.001447/0.001447, allocations: 193.2 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.43/1.43, allocations: 207.6 MB / 234 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.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.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.00179/0.00179, allocations: 55.92 kB / 345.9 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3214, allocations: 49.12 MB / 395 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01759/0.339, allocations: 12.95 MB / 407.9 MB, free: 124 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003837/0.3428, allocations: 1.713 MB / 409.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004027/0.3432, allocations: 4.562 kB / 409.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009183/0.3442, allocations: 170.9 kB / 409.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.3452, allocations: 323.1 kB / 410.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.3469, allocations: 407.3 kB / 410.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0017/0.3486, allocations: 0.8367 MB / 411.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.3489, allocations: 72.31 kB / 411.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.35, allocations: 399.2 kB / 411.8 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005849/0.3506, allocations: 280.7 kB / 412.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.3507, allocations: 32.88 kB / 412.1 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.3511, allocations: 99.02 kB / 412.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001983/0.3513, allocations: 99.03 kB / 412.3 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.3516, allocations: 185.7 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009266/0.3526, allocations: 473.5 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3526, allocations: 0 / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3526, allocations: 0 / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3526, allocations: 0 / 413 MB, free: 13.31 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.001156/0.3537, allocations: 0.5947 MB / 413.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3538, allocations: 13.94 kB / 413.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.3542, allocations: 44.25 kB / 413.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006923/0.3549, allocations: 291 kB / 413.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.3549, allocations: 18.16 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.288e-05/0.355, allocations: 24.69 kB / 413.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.3557, allocations: 323.9 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.3557, allocations: 7.922 kB / 414.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.3558, allocations: 12.44 kB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3558, allocations: 6.312 kB / 414.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003569/0.3562, allocations: 195.8 kB / 414.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.3584, allocations: 1.732 MB / 416.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.3587, allocations: 120.4 kB / 416.3 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3588, allocations: 67.88 kB / 416.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.359, allocations: 167.4 kB / 416.6 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.947e-05/0.3591, allocations: 35.75 kB / 416.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/0.3591, allocations: 1.188 kB / 416.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001961/0.361, allocations: 0.8019 MB / 417.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3611, allocations: 54.56 kB / 417.4 MB, free: 9.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.3614, allocations: 282.9 kB / 417.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3615, allocations: 30.92 kB / 417.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/0.3616, allocations: 200.8 kB / 417.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.3617, allocations: 80.33 kB / 418 MB, free: 8.906 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.3618, allocations: 71.56 kB / 418.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.362, allocations: 333.2 kB / 418.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.3621, allocations: 67.16 kB / 418.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.3624, allocations: 192.5 kB / 418.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.3629, allocations: 289.5 kB / 419 MB, free: 8.051 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3629, allocations: 1.531 kB / 419 MB, free: 8.051 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007377/0.3636, allocations: 330.8 kB / 419.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.3637, allocations: 5.375 kB / 419.3 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3637, allocations: 8.094 kB / 419.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001332/0.3638, allocations: 26.7 kB / 419.3 MB, free: 7.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.3643, allocations: 88.89 kB / 419.4 MB, free: 7.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.366, allocations: 1.408 MB / 420.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.3663, allocations: 8 kB / 420.8 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.3664, allocations: 17.47 kB / 420.8 MB, free: 6.355 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.0002671/0.3666, allocations: 157.8 kB / 421 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3667, allocations: 26.27 kB / 421 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005425/0.3673, allocations: 205.9 kB / 421.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3673, allocations: 6.594 kB / 421.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3673, allocations: 1.094 kB / 421.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000578/0.3679, allocations: 482.3 kB / 421.7 MB, free: 5.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.3696, allocations: 0.7727 MB / 422.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3696, allocations: 1.406 kB / 422.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002578/0.3698, allocations: 46.92 kB / 422.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.3698, allocations: 3.156 kB / 422.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.3698, allocations: 12.39 kB / 422.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.3699, allocations: 7.094 kB / 422.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.3699, allocations: 3 kB / 422.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/0.3706, allocations: 404.3 kB / 422.9 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3707, allocations: 113.6 kB / 423.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.3708, allocations: 4.281 kB / 423.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.3711, allocations: 8.781 kB / 423.1 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3711, allocations: 20.02 kB / 423.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.3712, allocations: 15.05 kB / 423.1 MB, free: 4.375 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003233/0.3715, allocations: 208.8 kB / 423.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3715, allocations: 0 / 423.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000746/0.3723, allocations: 102.5 kB / 423.4 MB, free: 4.211 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.0003838/0.3726, allocations: 134.8 kB / 423.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000751/0.3734, allocations: 295 kB / 423.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3734, allocations: 1.094 kB / 423.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001547/0.3735, allocations: 70 kB / 423.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.3748, allocations: 164.4 kB / 424.1 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.3764, allocations: 0.6719 MB / 424.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.377, allocations: 0.7634 MB / 425.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3771, allocations: 29.53 kB / 425.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3771, allocations: 1.125 kB / 425.5 MB, free: 2.531 MB / 334.1 MB Notification: Performance of Templates: time 0.01241/0.3896, allocations: 5.247 MB / 430.8 MB, free: 15.04 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