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.005397/0.005397, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001542/0.001542, allocations: 205.1 kB / 25.27 MB, free: 3.238 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.263/1.263, allocations: 207.6 MB / 236 MB, free: 9.984 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.001605/0.001605, allocations: 47.94 kB / 348 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2248, allocations: 49.16 MB / 397.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01042/0.2352, allocations: 13.07 MB / 410.2 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.2375, allocations: 1.726 MB / 412 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.2376, allocations: 4.125 kB / 412 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.2381, allocations: 174.9 kB / 412.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005489/0.2387, allocations: 324.1 kB / 412.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.2396, allocations: 417.6 kB / 412.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008725/0.2404, allocations: 0.8458 MB / 413.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.2406, allocations: 67.5 kB / 413.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005797/0.2412, allocations: 405.2 kB / 414.2 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.2415, allocations: 277 kB / 414.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.592e-05/0.2416, allocations: 27.88 kB / 414.5 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.2418, allocations: 106.7 kB / 414.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.2419, allocations: 98.84 kB / 414.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.2421, allocations: 180.3 kB / 414.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005248/0.2427, allocations: 479.9 kB / 415.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2427, allocations: 3.938 kB / 415.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2427, allocations: 0 / 415.3 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.2427, allocations: 1.094 kB / 415.3 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.000756/0.2434, allocations: 0.507 MB / 415.8 MB, free: 12.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2435, allocations: 18.11 kB / 415.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.2435, allocations: 10.16 kB / 415.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.25e-05/0.2436, allocations: 55.77 kB / 415.9 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002451/0.2438, allocations: 49.42 kB / 416 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.2442, allocations: 224 kB / 416.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.2442, allocations: 25.97 kB / 416.2 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.2443, allocations: 32.59 kB / 416.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.2447, allocations: 315.3 kB / 416.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.2447, allocations: 1.625 kB / 416.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.2448, allocations: 11.69 kB / 416.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2448, allocations: 10.47 kB / 416.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.2451, allocations: 194.3 kB / 416.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.2469, allocations: 1.6 MB / 418.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.2472, allocations: 129.8 kB / 418.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.2473, allocations: 62.55 kB / 418.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/0.2473, allocations: 13.23 kB / 418.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.2474, allocations: 45.12 kB / 418.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.2474, allocations: 0 / 418.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.001557/0.2489, allocations: 0.6506 MB / 419.3 MB, free: 9.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.249, allocations: 62.69 kB / 419.3 MB, free: 9.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2492, allocations: 276.4 kB / 419.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.2493, allocations: 31.17 kB / 419.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.2494, allocations: 199.4 kB / 419.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.2495, allocations: 85.48 kB / 419.9 MB, free: 8.984 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.2496, allocations: 66.92 kB / 420 MB, free: 8.938 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2497, allocations: 337.1 kB / 420.3 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.2498, allocations: 68.06 kB / 420.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.25, allocations: 188.2 kB / 420.5 MB, free: 8.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003344/0.2504, allocations: 281.9 kB / 420.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2504, allocations: 1.094 kB / 420.8 MB, free: 8.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004845/0.2508, allocations: 333.8 kB / 421.1 MB, free: 7.957 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2509, allocations: 15 kB / 421.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.2509, allocations: 4.375 kB / 421.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.927e-05/0.2509, allocations: 25.53 kB / 421.2 MB, free: 7.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.2512, allocations: 81.25 kB / 421.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.2523, allocations: 1.285 MB / 422.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.2525, allocations: 8.781 kB / 422.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.2525, allocations: 17.19 kB / 422.6 MB, free: 6.594 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.000151/0.2527, allocations: 162.9 kB / 422.7 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.2527, allocations: 30.77 kB / 422.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/0.2531, allocations: 211.7 kB / 423 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.2531, allocations: 2.188 kB / 423 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.2531, allocations: 1.344 kB / 423 MB, free: 6.281 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004045/0.2535, allocations: 486.9 kB / 423.5 MB, free: 5.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2545, allocations: 0.6726 MB / 424.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2545, allocations: 2.406 kB / 424.1 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.2547, allocations: 42.52 kB / 424.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.2547, allocations: 10.59 kB / 424.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.2547, allocations: 8.688 kB / 424.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.2547, allocations: 7.672 kB / 424.2 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.2547, allocations: 6.25 kB / 424.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004599/0.2552, allocations: 404.2 kB / 424.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.2552, allocations: 24.91 kB / 424.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.2553, allocations: 12.17 kB / 424.6 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.2555, allocations: 8.656 kB / 424.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.2555, allocations: 23.59 kB / 424.7 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.2555, allocations: 13.78 kB / 424.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.2557, allocations: 206.7 kB / 424.9 MB, free: 4.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2557, allocations: 3.938 kB / 424.9 MB, free: 4.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.2561, allocations: 94.69 kB / 425 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.0008525/0.257, allocations: 0.9643 MB / 425.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004607/0.2575, allocations: 308.5 kB / 426.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2575, allocations: 1.188 kB / 426.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2576, allocations: 65.83 kB / 426.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008801/0.2584, allocations: 155.2 kB / 426.5 MB, free: 3.469 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.2619, allocations: 3.096 MB / 429.6 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.2623, allocations: 0.7552 MB / 430.3 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.2625, allocations: 64 kB / 430.4 MB, free: 220 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2626, allocations: 86.78 kB / 430.5 MB, free: 152 kB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2626, allocations: 0 / 430.5 MB, free: 152 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03413/0.2967, allocations: 9.035 MB / 439.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.03, allocations: 7.984 kB / 439.5 MB, free: 7.777 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: 14.34267938398989]