Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001341/0.001341, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001548/0.001548, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 63.89 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.23, allocations: 53.42 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006149/0.2362, allocations: 4.887 MB / 436.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.2385, allocations: 1.397 MB / 437.5 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.2388, allocations: 11.94 kB / 437.5 MB, free: 412 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.2392, allocations: 154.7 kB / 437.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006515/0.2398, allocations: 341.5 kB / 438 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.2402, allocations: 219.6 kB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00109/0.2413, allocations: 1.03 MB / 439.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003364/0.2417, allocations: 210.4 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.2422, allocations: 418.6 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005644/0.2428, allocations: 454.1 kB / 440.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001242/0.2429, allocations: 88 kB / 440.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.2431, allocations: 88 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.2432, allocations: 203.3 kB / 440.6 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.2437, allocations: 465.9 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.2448, allocations: 1.09 MB / 442.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2448, allocations: 0 / 442.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2448, allocations: 0 / 442.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2448, allocations: 0 / 442.2 MB, free: 11.67 MB / 350.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.002249/0.2471, allocations: 1.164 MB / 443.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.2471, allocations: 12.03 kB / 443.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001668/0.2473, allocations: 104 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001749/0.2475, allocations: 104.3 kB / 443.6 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00084/0.2483, allocations: 475.3 kB / 444 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.2485, allocations: 156.7 kB / 444.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.881e-05/0.2486, allocations: 56.36 kB / 444.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.25, allocations: 0.8048 MB / 445 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.25, allocations: 4 kB / 445 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-05/0.2501, allocations: 31.98 kB / 445.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.2501, allocations: 12 kB / 445.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2514, allocations: 0.5048 MB / 445.6 MB, free: 8.051 MB / 350.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.003438/0.2548, allocations: 2.099 MB / 447.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.2561, allocations: 0.4937 MB / 448.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.2567, allocations: 230.2 kB / 448.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.485e-05/0.2567, allocations: 21.52 kB / 448.4 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007521/0.2575, allocations: 330 kB / 448.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.2575, allocations: 0 / 448.8 MB, free: 4.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004967/0.2624, allocations: 1.321 MB / 450.1 MB, free: 3.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004671/0.2629, allocations: 0.8232 MB / 450.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007333/0.2636, allocations: 0.5863 MB / 451.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.2637, allocations: 45.7 kB / 451.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.264, allocations: 341.2 kB / 451.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2642, allocations: 206.2 kB / 452.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.2644, allocations: 134.3 kB / 452.2 MB, free: 1.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.2646, allocations: 374.8 kB / 452.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/0.2652, allocations: 217.2 kB / 452.8 MB, free: 480 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/0.266, allocations: 0.5177 MB / 453.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.2673, allocations: 0.568 MB / 453.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2673, allocations: 0 / 453.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002287/0.2695, allocations: 0.8924 MB / 454.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.2696, allocations: 63.41 kB / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.2696, allocations: 0 / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007299/0.2703, allocations: 221.5 kB / 455 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.271, allocations: 115.8 kB / 455.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/0.2778, allocations: 4.392 MB / 459.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.2786, allocations: 95.56 kB / 459.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.2786, allocations: 20 kB / 459.6 MB, free: 9.16 MB / 366.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.000342/0.279, allocations: 209.7 kB / 459.8 MB, free: 8.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.2791, allocations: 83.47 kB / 459.9 MB, free: 8.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.2792, allocations: 86.84 kB / 460 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.2792, allocations: 4 kB / 460 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2792, allocations: 0 / 460 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/0.2814, allocations: 1.045 MB / 461.1 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00285/0.2842, allocations: 1.518 MB / 462.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2842, allocations: 4 kB / 462.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000675/0.2849, allocations: 103.9 kB / 462.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/0.2855, allocations: 173.5 kB / 462.9 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.88e-05/0.2855, allocations: 15.98 kB / 462.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005178/0.2907, allocations: 3.718 MB / 466.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.2907, allocations: 0 / 466.6 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.2931, allocations: 1.018 MB / 467.6 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.2935, allocations: 139.3 kB / 467.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.2936, allocations: 16 kB / 467.8 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005936/0.2942, allocations: 48.02 kB / 467.8 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.2944, allocations: 56.39 kB / 467.9 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/0.2945, allocations: 16 kB / 467.9 MB, free: 484 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005674/0.295, allocations: 419.1 kB / 468.3 MB, free: 68 kB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.295, allocations: 0 / 468.3 MB, free: 68 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009008/0.2959, allocations: 255.8 kB / 468.5 MB, free: 15.81 MB / 382.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.002742/0.2987, allocations: 1.593 MB / 470.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.3009, allocations: 0.9869 MB / 471.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.3009, allocations: 4 kB / 471.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3019, allocations: 0.5233 MB / 471.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009568/0.3028, allocations: 207.2 kB / 471.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.3133, allocations: 6.131 MB / 478 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.3138, allocations: 0.9199 MB / 478.9 MB, free: 5.156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000349/0.3142, allocations: 85.22 kB / 479 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003806/0.3146, allocations: 263.3 kB / 479.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3146, allocations: 0 / 479.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06376/0.3783, allocations: 23.4 MB / 0.4909 GB, free: 13.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.33, allocations: 6.484 kB / 0.4909 GB, free: 13.74 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.813885980001942]