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.001544/0.001544, allocations: 110.6 kB / 19.17 MB, free: 3.871 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.001564/0.001564, allocations: 203.8 kB / 22.12 MB, free: 0.9297 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.304/1.304, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",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="cs",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.001866/0.001866, allocations: 55.92 kB / 343 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2237, allocations: 49.13 MB / 392.2 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.0105/0.2342, allocations: 12.95 MB / 405.1 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.2365, allocations: 1.715 MB / 406.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.2367, allocations: 7.219 kB / 406.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005121/0.2372, allocations: 170 kB / 407 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006/0.2378, allocations: 318.4 kB / 407.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000955/0.2387, allocations: 405.3 kB / 407.7 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.2398, allocations: 0.8328 MB / 408.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.24, allocations: 71.03 kB / 408.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000806/0.2408, allocations: 405.7 kB / 409 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004157/0.2412, allocations: 272.1 kB / 409.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.2413, allocations: 28.88 kB / 409.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002693/0.2415, allocations: 98.41 kB / 409.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2417, allocations: 107.9 kB / 409.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002354/0.2419, allocations: 181.6 kB / 409.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007511/0.2427, allocations: 476.4 kB / 410.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2427, allocations: 0.75 kB / 410.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2427, allocations: 0 / 410.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.2427, allocations: 1.188 kB / 410.1 MB, free: 12.68 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.0009984/0.2437, allocations: 0.5893 MB / 410.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2437, allocations: 9.875 kB / 410.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.994e-05/0.2437, allocations: 10.97 kB / 410.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.05e-05/0.2438, allocations: 61.17 kB / 410.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.2441, allocations: 43.88 kB / 410.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.2447, allocations: 294.3 kB / 411.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.2447, allocations: 17.78 kB / 411.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.2448, allocations: 29.41 kB / 411.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005429/0.2453, allocations: 319.5 kB / 411.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2453, allocations: 1.375 kB / 411.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.717e-05/0.2454, allocations: 12.12 kB / 411.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.2454, allocations: 9.484 kB / 411.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.2457, allocations: 199 kB / 411.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.2479, allocations: 1.731 MB / 413.5 MB, free: 9.977 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002495/0.2481, allocations: 133.6 kB / 413.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.2482, allocations: 57.78 kB / 413.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001792/0.2484, allocations: 172.5 kB / 413.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.2485, allocations: 35.78 kB / 413.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.2485, allocations: 0 / 413.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001856/0.2503, allocations: 0.7961 MB / 414.6 MB, free: 9.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.2504, allocations: 56.59 kB / 414.7 MB, free: 8.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.2507, allocations: 283.9 kB / 415 MB, free: 8.754 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.2507, allocations: 30.86 kB / 415 MB, free: 8.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.2508, allocations: 196.2 kB / 415.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.2509, allocations: 85.08 kB / 415.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.183e-05/0.251, allocations: 62.61 kB / 415.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2512, allocations: 340.5 kB / 415.7 MB, free: 8.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.2513, allocations: 68.47 kB / 415.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002179/0.2515, allocations: 193.2 kB / 415.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.2519, allocations: 288.8 kB / 416.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2519, allocations: 5.281 kB / 416.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004958/0.2524, allocations: 330.5 kB / 416.5 MB, free: 7.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2524, allocations: 11.5 kB / 416.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2524, allocations: 7.5 kB / 416.6 MB, free: 7.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.639e-05/0.2525, allocations: 26.62 kB / 416.6 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/0.2528, allocations: 80.48 kB / 416.7 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.2539, allocations: 1.407 MB / 418.1 MB, free: 5.918 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.2541, allocations: 8.906 kB / 418.1 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2541, allocations: 16.62 kB / 418.1 MB, free: 5.91 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.0001642/0.2543, allocations: 150.6 kB / 418.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.2544, allocations: 27.14 kB / 418.3 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003656/0.2547, allocations: 213.6 kB / 418.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.2547, allocations: 2.188 kB / 418.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.2547, allocations: 0 / 418.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000415/0.2551, allocations: 483.5 kB / 418.9 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.2562, allocations: 0.7752 MB / 419.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2562, allocations: 6.766 kB / 419.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.2564, allocations: 42.27 kB / 419.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.2564, allocations: 11.81 kB / 419.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.2564, allocations: 8.75 kB / 419.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2564, allocations: 6.406 kB / 419.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2564, allocations: 3.656 kB / 419.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.2569, allocations: 406.5 kB / 420.2 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.257, allocations: 103.2 kB / 420.3 MB, free: 3.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.257, allocations: 8.125 kB / 420.3 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2573, allocations: 7.734 kB / 420.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.2573, allocations: 29.61 kB / 420.3 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.2573, allocations: 17.39 kB / 420.4 MB, free: 3.918 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.2575, allocations: 196.7 kB / 420.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2575, allocations: 0 / 420.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.258, allocations: 99.16 kB / 420.6 MB, free: 3.77 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.0009254/0.2589, allocations: 0.9662 MB / 421.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005047/0.2594, allocations: 300.4 kB / 421.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2594, allocations: 1.375 kB / 421.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.2595, allocations: 73.81 kB / 422 MB, free: 2.664 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.2604, allocations: 166.7 kB / 422.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.264, allocations: 3.086 MB / 425.2 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.2644, allocations: 0.7582 MB / 426 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002081/0.2646, allocations: 58.55 kB / 426 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.2647, allocations: 91.8 kB / 426.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2647, allocations: 0 / 426.1 MB, free: 15.26 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.2956, allocations: 8.841 MB / 435 MB, free: 8.098 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.44, allocations: 8.062 kB / 435 MB, free: 8.09 MB / 350.1 MB " [Timeout remaining time 648] (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: 13.760890008008573]