Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001291/0.001291, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001493/0.001493, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.476/1.476, allocations: 207.6 MB / 235.3 MB, free: 9.992 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.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",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.002291/0.002291, allocations: 56.3 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2732, allocations: 49.16 MB / 396.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00516/0.2783, allocations: 4.87 MB / 401.2 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.2808, allocations: 1.415 MB / 402.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004527/0.2812, allocations: 10.69 kB / 402.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.2817, allocations: 160 kB / 402.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008601/0.2825, allocations: 345.5 kB / 403.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006054/0.2831, allocations: 218.5 kB / 403.3 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2845, allocations: 1.028 MB / 404.4 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.2848, allocations: 204.6 kB / 404.6 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005618/0.2854, allocations: 416.7 kB / 405 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.2859, allocations: 447.8 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.286, allocations: 95.27 kB / 405.5 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.2862, allocations: 90.62 kB / 405.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.2864, allocations: 199.8 kB / 405.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004241/0.2868, allocations: 468.3 kB / 406.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.288, allocations: 1.085 MB / 407.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.288, allocations: 0.75 kB / 407.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.288, allocations: 0 / 407.3 MB, free: 2.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.288, allocations: 1.469 kB / 407.3 MB, free: 2.344 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002162/0.2902, allocations: 1.176 MB / 408.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2902, allocations: 14.38 kB / 408.5 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.2904, allocations: 107.6 kB / 408.6 MB, free: 1.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.2906, allocations: 101.3 kB / 408.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007979/0.2914, allocations: 470 kB / 409.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/0.2915, allocations: 156.9 kB / 409.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.462e-05/0.2916, allocations: 52.62 kB / 409.4 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001256/0.2929, allocations: 0.8034 MB / 410.2 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.2929, allocations: 2.031 kB / 410.2 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.865e-05/0.2929, allocations: 27.84 kB / 410.2 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.2929, allocations: 16.48 kB / 410.2 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.2941, allocations: 0.507 MB / 410.8 MB, free: 224 kB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.2978, allocations: 2.108 MB / 412.9 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.299, allocations: 493.4 kB / 413.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.2995, allocations: 231.6 kB / 413.6 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-05/0.2996, allocations: 12.2 kB / 413.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007269/0.3003, allocations: 329.8 kB / 413.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 4.679e-06/0.3003, allocations: 5.391 kB / 413.9 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.004772/0.3051, allocations: 1.321 MB / 415.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004426/0.3055, allocations: 0.8182 MB / 416.1 MB, free: 12.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.3063, allocations: 0.5876 MB / 416.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3065, allocations: 48.47 kB / 416.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.3068, allocations: 356.1 kB / 417 MB, free: 11.53 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.307, allocations: 197.1 kB / 417.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.3072, allocations: 130.5 kB / 417.4 MB, free: 11.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.3074, allocations: 377.9 kB / 417.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.3079, allocations: 210.6 kB / 417.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/0.3088, allocations: 0.524 MB / 418.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.31, allocations: 0.5601 MB / 419 MB, free: 9.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.31, allocations: 1.125 kB / 419 MB, free: 9.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002277/0.3122, allocations: 0.8881 MB / 419.9 MB, free: 9.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.3123, allocations: 63.59 kB / 420 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.3123, allocations: 6.188 kB / 420 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007097/0.313, allocations: 227 kB / 420.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.3136, allocations: 110.4 kB / 420.3 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/0.3208, allocations: 4.381 MB / 424.7 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.3218, allocations: 92.8 kB / 424.8 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.64e-05/0.3219, allocations: 19.34 kB / 424.8 MB, free: 5.457 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005838/0.3225, allocations: 208.9 kB / 425 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.3226, allocations: 91.92 kB / 425.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.3228, allocations: 80.67 kB / 425.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3228, allocations: 6.031 kB / 425.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3228, allocations: 0 / 425.2 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002235/0.3251, allocations: 1.043 MB / 426.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.3281, allocations: 1.515 MB / 427.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3282, allocations: 0 / 427.7 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006087/0.3288, allocations: 111.8 kB / 427.8 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005527/0.3293, allocations: 165.6 kB / 428 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.3294, allocations: 11.98 kB / 428 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005231/0.3346, allocations: 3.733 MB / 431.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3346, allocations: 160 / 431.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.3371, allocations: 1.022 MB / 432.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.3376, allocations: 135.3 kB / 432.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.3377, allocations: 20 kB / 432.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/0.3383, allocations: 43.95 kB / 433 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001815/0.3385, allocations: 56.41 kB / 433 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.711e-05/0.3386, allocations: 15.98 kB / 433 MB, free: 13.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006343/0.3392, allocations: 419.1 kB / 433.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 433.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001035/0.3402, allocations: 251.8 kB / 433.7 MB, free: 12.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002802/0.343, allocations: 1.594 MB / 435.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002264/0.3453, allocations: 0.9863 MB / 436.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3453, allocations: 7.938 kB / 436.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.3463, allocations: 0.5202 MB / 436.8 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009549/0.3473, allocations: 215 kB / 437 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3579, allocations: 6.137 MB / 443.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.3585, allocations: 0.916 MB / 444.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003934/0.3589, allocations: 89.2 kB / 444.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.3593, allocations: 263.3 kB / 444.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of SimCode: time 1.322e-06/0.3593, allocations: 0 / 444.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0737/0.433, allocations: 23.39 MB / 467.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.28, allocations: 4.062 kB / 467.8 MB, free: 10.1 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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: 16.806533579947427]