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.001506/0.001506, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001611/0.001611, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.339/1.339, allocations: 230.5 MB / 258.2 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.89 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2192, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006375/0.2256, allocations: 4.907 MB / 436.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2281, allocations: 1.383 MB / 438.3 MB, free: 384 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.2285, allocations: 11.94 kB / 438.3 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004023/0.2289, allocations: 158.7 kB / 438.4 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.2296, allocations: 345.5 kB / 438.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004686/0.2301, allocations: 219.6 kB / 439 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001173/0.2312, allocations: 1.022 MB / 440 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.2316, allocations: 210.1 kB / 440.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005673/0.2321, allocations: 422.5 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005447/0.2327, allocations: 458.1 kB / 441.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2328, allocations: 88 kB / 441.1 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2329, allocations: 88 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.2331, allocations: 195.3 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004644/0.2336, allocations: 481.8 kB / 441.9 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.2346, allocations: 1.074 MB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2347, allocations: 0 / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2347, allocations: 0 / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.2347, allocations: 0 / 443 MB, free: 11.64 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.002183/0.2368, allocations: 1.172 MB / 444.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.2369, allocations: 8.031 kB / 444.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.725e-05/0.2369, allocations: 29.38 kB / 444.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001589/0.2371, allocations: 108 kB / 444.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.2373, allocations: 104.4 kB / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008146/0.2381, allocations: 479.3 kB / 444.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.2382, allocations: 156.7 kB / 445 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.2383, allocations: 64.08 kB / 445.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.2397, allocations: 0.8166 MB / 445.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.2398, allocations: 4 kB / 445.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.2398, allocations: 31.94 kB / 445.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2398, allocations: 12 kB / 445.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.2411, allocations: 0.5126 MB / 446.4 MB, free: 7.949 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.003568/0.2446, allocations: 2.146 MB / 448.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.2459, allocations: 499.6 kB / 449.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.2465, allocations: 266.6 kB / 449.3 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.2466, allocations: 12.64 kB / 449.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008047/0.2474, allocations: 360.7 kB / 449.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.2474, allocations: 0 / 449.7 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.009089/0.2565, allocations: 2.715 MB / 452.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004783/0.2569, allocations: 0.8276 MB / 453.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.2577, allocations: 0.594 MB / 453.8 MB, free: 172 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.2578, allocations: 45.7 kB / 453.9 MB, free: 120 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/0.2581, allocations: 345.2 kB / 454.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.2584, allocations: 289.5 kB / 454.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.2587, allocations: 166.6 kB / 454.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.2589, allocations: 386.8 kB / 455 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009417/0.2598, allocations: 325.8 kB / 455.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001271/0.2611, allocations: 0.6543 MB / 456 MB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001934/0.263, allocations: 0.8043 MB / 456.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.263, allocations: 0 / 456.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003933/0.2669, allocations: 1.342 MB / 458.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.267, allocations: 63.39 kB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.267, allocations: 4 kB / 458.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/0.2688, allocations: 442.1 kB / 458.7 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.2699, allocations: 191.7 kB / 458.8 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01127/0.2811, allocations: 6.752 MB / 465.6 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009777/0.2821, allocations: 79.86 kB / 465.7 MB, free: 3.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.2822, allocations: 24 kB / 465.7 MB, free: 3.723 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 (65): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.2826, allocations: 241.6 kB / 465.9 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.2827, allocations: 91.44 kB / 466 MB, free: 3.387 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.2829, allocations: 91.97 kB / 466.1 MB, free: 3.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.2829, allocations: 8 kB / 466.1 MB, free: 3.277 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.2829, allocations: 4 kB / 466.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003264/0.2862, allocations: 1.401 MB / 467.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.2919, allocations: 2.296 MB / 469.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2919, allocations: 0 / 469.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.293, allocations: 179.7 kB / 470 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/0.2945, allocations: 382.2 kB / 470.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.2946, allocations: 19.92 kB / 470.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008461/0.3031, allocations: 5.714 MB / 476.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3031, allocations: 0 / 476.1 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004794/0.3079, allocations: 1.695 MB / 477.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.3083, allocations: 159.3 kB / 478 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.3084, allocations: 24.06 kB / 478 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007504/0.3091, allocations: 71.92 kB / 478 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/0.3094, allocations: 88.91 kB / 478.1 MB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.966e-05/0.3094, allocations: 19.98 kB / 478.2 MB, free: 6.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005117/0.3099, allocations: 419.1 kB / 478.6 MB, free: 6.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3099, allocations: 0 / 478.6 MB, free: 6.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000908/0.3108, allocations: 292 kB / 478.8 MB, free: 5.992 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 (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * 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.005144/0.316, allocations: 2.286 MB / 481.1 MB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003477/0.3195, allocations: 1.452 MB / 482.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3195, allocations: 0 / 482.6 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.3211, allocations: 0.8066 MB / 483.4 MB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3221, allocations: 229.9 kB / 483.6 MB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01514/0.3373, allocations: 7.564 MB / 491.2 MB, free: 9.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006251/0.3379, allocations: 0.9455 MB / 492.1 MB, free: 8.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.3383, allocations: 94.17 kB / 492.2 MB, free: 8.246 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.3387, allocations: 291.3 kB / 492.5 MB, free: 7.961 MB / 398.1 MB Notification: Performance of SimCode: time 1.052e-06/0.3387, allocations: 0 / 492.5 MB, free: 7.961 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0669/0.4056, allocations: 27.57 MB / 0.5079 GB, free: 12.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.2, allocations: 6.891 kB / 0.5079 GB, free: 12.73 MB / 430.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.622916061023716]