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.001855/0.001855, allocations: 108.2 kB / 21.18 MB, free: 0.6992 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.002205/0.002205, allocations: 216.7 kB / 24.5 MB, free: 4.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.451/1.451, allocations: 207.6 MB / 235.3 MB, free: 10.02 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: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [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.002797/0.002797, allocations: 54.72 kB / 347.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3099, allocations: 49.16 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01334/0.3232, allocations: 13.08 MB / 409.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.3264, allocations: 1.716 MB / 411.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.3266, allocations: 8.719 kB / 411.2 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006377/0.3272, allocations: 171.3 kB / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006746/0.3279, allocations: 323.7 kB / 411.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.329, allocations: 422.2 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.3301, allocations: 0.8418 MB / 412.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.3304, allocations: 75.06 kB / 413 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008009/0.3312, allocations: 405 kB / 413.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.3316, allocations: 274 kB / 413.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.3317, allocations: 28.12 kB / 413.7 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.332, allocations: 106.5 kB / 413.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3321, allocations: 97.91 kB / 413.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.3323, allocations: 179.9 kB / 414.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006181/0.3329, allocations: 474.8 kB / 414.5 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3329, allocations: 4 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3329, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.333, allocations: 1.656 kB / 414.5 MB, free: 12.75 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.0008766/0.3338, allocations: 0.5104 MB / 415 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.3339, allocations: 13.77 kB / 415.1 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.217e-05/0.334, allocations: 67.25 kB / 415.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002688/0.3342, allocations: 41.59 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.3346, allocations: 235.3 kB / 415.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3347, allocations: 19.5 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.3347, allocations: 23.91 kB / 415.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.3352, allocations: 323.4 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3352, allocations: 1 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.3353, allocations: 11.38 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.3353, allocations: 6.812 kB / 415.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.3356, allocations: 194.7 kB / 416 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.3376, allocations: 1.603 MB / 417.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3379, allocations: 129.5 kB / 417.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.338, allocations: 62.59 kB / 417.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/0.3381, allocations: 18.14 kB / 417.8 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.3381, allocations: 37.47 kB / 417.8 MB, free: 9.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3381, allocations: 3.938 kB / 417.8 MB, free: 9.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001691/0.3398, allocations: 0.6521 MB / 418.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.3398, allocations: 58.78 kB / 418.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.3402, allocations: 282.1 kB / 418.8 MB, free: 9.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3402, allocations: 30.89 kB / 418.8 MB, free: 9.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3403, allocations: 196.4 kB / 419 MB, free: 9.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.544e-05/0.3404, allocations: 85.19 kB / 419.1 MB, free: 8.988 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-05/0.3405, allocations: 69.91 kB / 419.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3407, allocations: 334.1 kB / 419.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.3408, allocations: 68.06 kB / 419.6 MB, free: 8.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.341, allocations: 189.4 kB / 419.7 MB, free: 8.387 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003569/0.3413, allocations: 280.2 kB / 420 MB, free: 8.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3413, allocations: 1.031 kB / 420 MB, free: 8.145 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005285/0.3419, allocations: 330.7 kB / 420.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3419, allocations: 6.812 kB / 420.3 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.3419, allocations: 15.42 kB / 420.4 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.562e-05/0.342, allocations: 21.48 kB / 420.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.3423, allocations: 89.92 kB / 420.5 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.3435, allocations: 1.285 MB / 421.8 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.3437, allocations: 13.62 kB / 421.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.3437, allocations: 17.16 kB / 421.8 MB, free: 6.59 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.0001779/0.3439, allocations: 158.2 kB / 421.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.344, allocations: 30.53 kB / 422 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.3443, allocations: 206.2 kB / 422.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3443, allocations: 2.281 kB / 422.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.3443, allocations: 0 / 422.2 MB, free: 6.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004401/0.3448, allocations: 495.2 kB / 422.7 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.346, allocations: 0.6646 MB / 423.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.346, allocations: 2.562 kB / 423.3 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.3461, allocations: 46.5 kB / 423.4 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.3461, allocations: 8.25 kB / 423.4 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3461, allocations: 6.969 kB / 423.4 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.3462, allocations: 12.22 kB / 423.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.3462, allocations: 2.906 kB / 423.4 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004863/0.3466, allocations: 407 kB / 423.8 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.3467, allocations: 33.83 kB / 423.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.3467, allocations: 7.375 kB / 423.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.347, allocations: 4.688 kB / 423.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.347, allocations: 19.69 kB / 423.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.347, allocations: 21.7 kB / 423.9 MB, free: 4.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002126/0.3472, allocations: 202.1 kB / 424.1 MB, free: 4.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3472, allocations: 4.062 kB / 424.1 MB, free: 4.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.3477, allocations: 99.72 kB / 424.2 MB, free: 4.656 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.0009424/0.3486, allocations: 0.9563 MB / 425.1 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000525/0.3492, allocations: 303.4 kB / 425.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3492, allocations: 1.031 kB / 425.4 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3493, allocations: 76.09 kB / 425.5 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008886/0.3502, allocations: 154.2 kB / 425.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.354, allocations: 3.086 MB / 428.7 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.3545, allocations: 0.767 MB / 429.5 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002421/0.3547, allocations: 62.59 kB / 429.6 MB, free: 216 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.3548, allocations: 90.84 kB / 429.7 MB, free: 144 kB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3548, allocations: 1.188 kB / 429.7 MB, free: 144 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05738/0.4122, allocations: 9.011 MB / 438.7 MB, free: 7.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.02, allocations: 7.938 kB / 438.7 MB, free: 7.832 MB / 350.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_ConstantPropertyLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 52.5] 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: 15.50721313804388]