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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001524/0.001524, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 59.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 50.55 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005383/0.2251, allocations: 4.836 MB / 413.6 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2271, allocations: 1.388 MB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002288/0.2273, allocations: 15.94 kB / 415 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.2277, allocations: 150.7 kB / 415.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005657/0.2283, allocations: 333.4 kB / 415.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.2287, allocations: 215.6 kB / 415.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009001/0.2296, allocations: 1.026 MB / 416.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.2299, allocations: 297.9 kB / 417 MB, free: 9.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004278/0.2304, allocations: 414.5 kB / 417.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.2308, allocations: 450.1 kB / 417.8 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.2309, allocations: 95.94 kB / 417.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.2311, allocations: 88 kB / 418 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.2312, allocations: 195.4 kB / 418.2 MB, free: 8.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000362/0.2316, allocations: 477.8 kB / 418.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008555/0.2325, allocations: 1.074 MB / 419.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2325, allocations: 0 / 419.7 MB, free: 6.477 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2325, allocations: 3.938 kB / 419.8 MB, free: 6.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2325, allocations: 0 / 419.8 MB, free: 6.473 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001992/0.2345, allocations: 1.224 MB / 421 MB, free: 5.184 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2345, allocations: 8.031 kB / 421 MB, free: 5.176 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001487/0.2347, allocations: 111.9 kB / 421.1 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.2348, allocations: 99.81 kB / 421.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007129/0.2356, allocations: 0.5162 MB / 421.7 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.2357, allocations: 101.3 kB / 421.8 MB, free: 4.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.2358, allocations: 56.38 kB / 421.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.237, allocations: 0.8088 MB / 422.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.2371, allocations: 0 / 422.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.539e-05/0.2371, allocations: 24 kB / 422.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.2372, allocations: 16 kB / 422.7 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.2383, allocations: 0.5086 MB / 423.2 MB, free: 2.773 MB / 334.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.002944/0.2413, allocations: 2.175 MB / 425.4 MB, free: 472 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.2425, allocations: 0.5331 MB / 425.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.2431, allocations: 258.4 kB / 426.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.219e-05/0.2431, allocations: 13.64 kB / 426.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006951/0.2438, allocations: 330.9 kB / 426.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.954e-06/0.2439, allocations: 0 / 426.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004776/0.2486, allocations: 1.477 MB / 428 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003117/0.249, allocations: 0.8233 MB / 428.8 MB, free: 12.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005973/0.2496, allocations: 0.59 MB / 429.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.2496, allocations: 45.7 kB / 429.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.2499, allocations: 344.7 kB / 429.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.25, allocations: 189.2 kB / 430 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/0.2502, allocations: 134.1 kB / 430.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2504, allocations: 374.8 kB / 430.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.2509, allocations: 217 kB / 430.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000778/0.2517, allocations: 0.5169 MB / 431.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2528, allocations: 0.5614 MB / 431.8 MB, free: 9.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/0.2529, allocations: 8 kB / 431.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002103/0.255, allocations: 0.8973 MB / 432.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.255, allocations: 63.44 kB / 432.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.255, allocations: 0 / 432.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006757/0.2557, allocations: 229.5 kB / 433 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.2563, allocations: 111.9 kB / 433.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/0.2624, allocations: 4.592 MB / 437.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006617/0.263, allocations: 83.48 kB / 437.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.246e-05/0.2631, allocations: 23.98 kB / 437.8 MB, free: 3.301 MB / 350.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.0002683/0.2634, allocations: 205.9 kB / 438 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.2635, allocations: 83 kB / 438 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001307/0.2636, allocations: 78.86 kB / 438.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.2636, allocations: 4 kB / 438.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2637, allocations: 7.922 kB / 438.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00201/0.2657, allocations: 1.046 MB / 439.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.2682, allocations: 1.547 MB / 440.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.2682, allocations: 0 / 440.7 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.2688, allocations: 111.8 kB / 440.8 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005343/0.2693, allocations: 169.6 kB / 441 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.2694, allocations: 12 kB / 441 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004556/0.2739, allocations: 3.933 MB / 444.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.274, allocations: 0 / 444.9 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002175/0.2761, allocations: 1.036 MB / 446 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.2764, allocations: 212.1 kB / 446.2 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.725e-05/0.2765, allocations: 16 kB / 446.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005846/0.2771, allocations: 47.89 kB / 446.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2773, allocations: 56.55 kB / 446.3 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.2773, allocations: 12.19 kB / 446.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.2777, allocations: 423.1 kB / 446.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2777, allocations: 0 / 446.7 MB, free: 9.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.2784, allocations: 251.7 kB / 447 MB, free: 9.551 MB / 366.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.00248/0.2809, allocations: 1.595 MB / 448.6 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001901/0.2828, allocations: 1.019 MB / 449.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.2829, allocations: 0 / 449.6 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009081/0.2838, allocations: 0.5516 MB / 450.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.2846, allocations: 211.1 kB / 450.3 MB, free: 6.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009339/0.2939, allocations: 6.109 MB / 456.5 MB, free: 15.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004811/0.2945, allocations: 0.916 MB / 457.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.2948, allocations: 89.2 kB / 457.5 MB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.2951, allocations: 263.3 kB / 457.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2951, allocations: 0 / 457.7 MB, free: 14.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04917/0.3443, allocations: 23.32 MB / 481 MB, free: 7.562 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.79, allocations: 14.84 kB / 481 MB, free: 7.551 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches