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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001602/0.001602, allocations: 113.8 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002192/0.002192, allocations: 210.7 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2521, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005802/0.258, allocations: 4.836 MB / 414.8 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.2606, allocations: 1.386 MB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.2609, allocations: 11.94 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.2614, allocations: 154.7 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006343/0.262, allocations: 337.4 kB / 416.6 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004552/0.2625, allocations: 211.6 kB / 416.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009878/0.2635, allocations: 1.034 MB / 417.9 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004135/0.2639, allocations: 293.7 kB / 418.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005322/0.2644, allocations: 410.6 kB / 418.6 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000494/0.265, allocations: 462.1 kB / 419 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.2651, allocations: 91.94 kB / 419.1 MB, free: 8.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2652, allocations: 88 kB / 419.2 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2654, allocations: 191.3 kB / 419.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.2658, allocations: 481.8 kB / 419.8 MB, free: 7.609 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009725/0.2668, allocations: 1.072 MB / 420.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2668, allocations: 3.938 kB / 420.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.2668, allocations: 0 / 420.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.2668, allocations: 3.938 kB / 420.9 MB, free: 6.527 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.002134/0.269, allocations: 1.22 MB / 422.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.269, allocations: 8.031 kB / 422.2 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.2692, allocations: 103.8 kB / 422.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007684/0.27, allocations: 0.5121 MB / 422.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.2701, allocations: 97.27 kB / 422.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.432e-05/0.2702, allocations: 56.38 kB / 422.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.2716, allocations: 0.7888 MB / 423.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.2716, allocations: 11.89 kB / 423.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.902e-05/0.2717, allocations: 28 kB / 423.7 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.2717, allocations: 12 kB / 423.8 MB, free: 3.469 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.2729, allocations: 0.5035 MB / 424.3 MB, free: 2.969 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.003245/0.2762, allocations: 2.134 MB / 426.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.2774, allocations: 0.5408 MB / 426.9 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.278, allocations: 259.6 kB / 427.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.394e-05/0.2781, allocations: 12.47 kB / 427.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007383/0.2788, allocations: 331 kB / 427.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.525e-06/0.2789, allocations: 0 / 427.5 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004977/0.2838, allocations: 1.485 MB / 429 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003556/0.2842, allocations: 0.8233 MB / 429.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007453/0.285, allocations: 0.5901 MB / 430.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.2851, allocations: 41.7 kB / 430.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/0.2853, allocations: 344.7 kB / 430.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.2855, allocations: 185.2 kB / 431 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.2857, allocations: 130.2 kB / 431.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.2859, allocations: 378.8 kB / 431.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.2865, allocations: 216.9 kB / 431.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008636/0.2874, allocations: 0.5169 MB / 432.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.2886, allocations: 0.5615 MB / 432.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.2886, allocations: 0 / 432.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002261/0.2908, allocations: 0.9012 MB / 433.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.2909, allocations: 63.39 kB / 433.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.2909, allocations: 7.969 kB / 433.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006943/0.2916, allocations: 225.4 kB / 434 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.2923, allocations: 115.8 kB / 434.1 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006542/0.2988, allocations: 4.587 MB / 438.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008391/0.2997, allocations: 91.38 kB / 438.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.2998, allocations: 20 kB / 438.8 MB, free: 3.52 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.0003779/0.3002, allocations: 209.9 kB / 439 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.3003, allocations: 75.16 kB / 439 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001599/0.3005, allocations: 78.84 kB / 439.1 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.3005, allocations: 11.94 kB / 439.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3005, allocations: 4 kB / 439.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/0.3026, allocations: 1.05 MB / 440.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.3055, allocations: 1.54 MB / 441.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.3055, allocations: 0 / 441.7 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.3061, allocations: 111.9 kB / 441.8 MB, free: 252 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005379/0.3067, allocations: 173.5 kB / 442 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.908e-05/0.3067, allocations: 12 kB / 442 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005035/0.3118, allocations: 3.925 MB / 445.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3118, allocations: 0 / 445.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002418/0.3142, allocations: 1.028 MB / 447 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.3146, allocations: 219.9 kB / 447.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3148, allocations: 16 kB / 447.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.3154, allocations: 39.95 kB / 447.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.3156, allocations: 60.55 kB / 447.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.3157, allocations: 15.94 kB / 447.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005493/0.3162, allocations: 423.1 kB / 447.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3162, allocations: 0 / 447.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008491/0.3171, allocations: 251.7 kB / 448 MB, free: 9.781 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.0001832/0.3173, allocations: 115.2 kB / 448.1 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00215/0.3194, allocations: 1.011 MB / 449.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3195, allocations: 0 / 449.1 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3205, allocations: 0.5477 MB / 449.7 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.3215, allocations: 215 kB / 449.9 MB, free: 7.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3243, allocations: 1.32 MB / 451.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.3248, allocations: 0.916 MB / 452.1 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.325, allocations: 59.42 kB / 452.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.325, allocations: 0 / 452.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of Templates: time 0.02077/0.3458, allocations: 16.17 MB / 468.3 MB, free: 5.398 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (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 & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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