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.001478/0.001478, allocations: 114 kB / 20.44 MB, free: 1.469 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.001655/0.001655, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.377/1.377, allocations: 230.5 MB / 257.4 MB, free: 8.027 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.001809/0.001809, allocations: 60.08 kB / 377.8 MB, free: 3.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2434, allocations: 53.41 MB / 431.2 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00613/0.2495, allocations: 4.899 MB / 436.1 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.252, allocations: 1.393 MB / 437.5 MB, free: 424 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003784/0.2523, allocations: 15.88 kB / 437.5 MB, free: 408 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.2528, allocations: 154.7 kB / 437.6 MB, free: 252 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008507/0.2536, allocations: 345.5 kB / 438 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.2542, allocations: 211.7 kB / 438.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.2554, allocations: 1.03 MB / 439.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.2557, allocations: 210.4 kB / 439.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005325/0.2562, allocations: 414.7 kB / 439.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005461/0.2568, allocations: 454.1 kB / 440.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000128/0.2569, allocations: 88 kB / 440.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.257, allocations: 91.94 kB / 440.4 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2572, allocations: 195.3 kB / 440.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004416/0.2576, allocations: 473.8 kB / 441.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.2588, allocations: 1.087 MB / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2588, allocations: 0 / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2588, allocations: 0 / 442.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.2588, allocations: 0 / 442.2 MB, free: 11.68 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.002165/0.261, allocations: 1.172 MB / 443.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.261, allocations: 8.031 kB / 443.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.2612, allocations: 108 kB / 443.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.2613, allocations: 108.3 kB / 443.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008093/0.2621, allocations: 467.3 kB / 444 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/0.2623, allocations: 156.7 kB / 444.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/0.2624, allocations: 52.38 kB / 444.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.2637, allocations: 0.801 MB / 445 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.2638, allocations: 11.92 kB / 445 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.2638, allocations: 28 kB / 445.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.2638, allocations: 12 kB / 445.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.265, allocations: 0.5048 MB / 445.6 MB, free: 8.055 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.003419/0.2684, allocations: 2.099 MB / 447.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.2697, allocations: 0.4898 MB / 448.2 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/0.2702, allocations: 234.2 kB / 448.4 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.2703, allocations: 13.58 kB / 448.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007703/0.2711, allocations: 334 kB / 448.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.334e-06/0.2711, allocations: 0 / 448.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004776/0.2758, allocations: 1.325 MB / 450.1 MB, free: 3.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004324/0.2763, allocations: 0.8271 MB / 450.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.277, allocations: 0.5902 MB / 451.5 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.687e-05/0.2771, allocations: 41.7 kB / 451.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.2773, allocations: 341.2 kB / 451.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.2775, allocations: 202.2 kB / 452.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.2777, allocations: 130.3 kB / 452.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.2779, allocations: 382.8 kB / 452.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006011/0.2785, allocations: 209.2 kB / 452.8 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.2794, allocations: 0.5217 MB / 453.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2805, allocations: 0.5602 MB / 453.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.2805, allocations: 0 / 453.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002243/0.2828, allocations: 0.8924 MB / 454.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.2828, allocations: 73.67 kB / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2828, allocations: 0 / 454.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007295/0.2836, allocations: 221.5 kB / 455 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/0.2842, allocations: 115.8 kB / 455.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006702/0.2909, allocations: 4.393 MB / 459.5 MB, free: 9.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007722/0.2917, allocations: 79.67 kB / 459.6 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.2917, allocations: 27.92 kB / 459.6 MB, free: 9.168 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.0003451/0.292, allocations: 216.8 kB / 459.9 MB, free: 8.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2922, allocations: 83.47 kB / 459.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.2923, allocations: 82.86 kB / 460 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.2923, allocations: 4 kB / 460 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2923, allocations: 112 / 460 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002105/0.2944, allocations: 1.049 MB / 461.1 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.2971, allocations: 1.514 MB / 462.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2972, allocations: 0 / 462.6 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/0.2978, allocations: 107.9 kB / 462.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005346/0.2983, allocations: 173.5 kB / 462.9 MB, free: 5.758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.112e-05/0.2983, allocations: 12 kB / 462.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005048/0.3034, allocations: 3.721 MB / 466.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3034, allocations: 0 / 466.6 MB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.3056, allocations: 1.018 MB / 467.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.3059, allocations: 143.3 kB / 467.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.306, allocations: 15.98 kB / 467.8 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005468/0.3066, allocations: 48.02 kB / 467.8 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.3067, allocations: 52.41 kB / 467.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.3068, allocations: 19.98 kB / 467.9 MB, free: 488 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.3073, allocations: 415.1 kB / 468.3 MB, free: 76 kB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3073, allocations: 0 / 468.3 MB, free: 76 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008078/0.3081, allocations: 259.8 kB / 468.5 MB, free: 15.82 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.00266/0.3107, allocations: 1.59 MB / 470.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.3127, allocations: 0.9908 MB / 471.1 MB, free: 13.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.3127, allocations: 8.062 kB / 471.1 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.3137, allocations: 0.5156 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.000827/0.3145, allocations: 215.3 kB / 471.9 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/0.3245, allocations: 6.13 MB / 478 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/0.3251, allocations: 0.916 MB / 478.9 MB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00034/0.3254, allocations: 89.2 kB / 479 MB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.3258, allocations: 259.3 kB / 479.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3258, allocations: 0 / 479.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06312/0.3889, allocations: 23.39 MB / 0.4909 GB, free: 13.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/13.94, allocations: 3.766 kB / 0.4909 GB, free: 13.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.26496279705316]