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.001423/0.001423, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001754/0.001754, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 63.89 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2482, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005265/0.2535, allocations: 4.843 MB / 414.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.2555, allocations: 1.382 MB / 415.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002111/0.2557, allocations: 11.94 kB / 415.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.2561, allocations: 154.7 kB / 415.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.2566, allocations: 341.4 kB / 416 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.257, allocations: 211.6 kB / 416.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009081/0.2579, allocations: 1.03 MB / 417.2 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003856/0.2583, allocations: 297.7 kB / 417.5 MB, free: 9.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004491/0.2588, allocations: 414.5 kB / 417.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004564/0.2593, allocations: 454.1 kB / 418.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.2594, allocations: 88 kB / 418.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.2596, allocations: 88 kB / 418.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.2597, allocations: 191.4 kB / 418.7 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.2601, allocations: 481.8 kB / 419.2 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.261, allocations: 1.076 MB / 420.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.261, allocations: 0 / 420.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.261, allocations: 3.938 kB / 420.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.261, allocations: 0 / 420.2 MB, free: 6.539 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.002131/0.2632, allocations: 1.22 MB / 421.5 MB, free: 5.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.2632, allocations: 8.031 kB / 421.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.2634, allocations: 103.8 kB / 421.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.2641, allocations: 0.5081 MB / 422.1 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.2643, allocations: 105.2 kB / 422.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/0.2644, allocations: 60.36 kB / 422.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.2656, allocations: 0.7888 MB / 423 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.2657, allocations: 7.906 kB / 423 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-05/0.2657, allocations: 31.98 kB / 423.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.2658, allocations: 12 kB / 423.1 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.2669, allocations: 0.4996 MB / 423.6 MB, free: 2.977 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.0031/0.27, allocations: 2.142 MB / 425.7 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.2714, allocations: 0.5292 MB / 426.2 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000591/0.272, allocations: 266.4 kB / 426.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.454e-05/0.272, allocations: 17.62 kB / 426.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006806/0.2727, allocations: 331 kB / 426.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.793e-06/0.2727, allocations: 0 / 426.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004997/0.2777, allocations: 1.481 MB / 428.3 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003594/0.2781, allocations: 0.8271 MB / 429.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.2787, allocations: 0.5901 MB / 429.7 MB, free: 12.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.2788, allocations: 41.7 kB / 429.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.2791, allocations: 340.8 kB / 430.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.2792, allocations: 185.2 kB / 430.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.2794, allocations: 130.2 kB / 430.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2795, allocations: 378.8 kB / 430.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.2801, allocations: 213 kB / 431 MB, free: 11.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.2809, allocations: 0.5169 MB / 431.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.282, allocations: 0.5576 MB / 432.1 MB, free: 9.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.2821, allocations: 4 kB / 432.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002175/0.2842, allocations: 0.905 MB / 433 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.92e-05/0.2843, allocations: 71.36 kB / 433.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2843, allocations: 0 / 433.1 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006975/0.285, allocations: 217.6 kB / 433.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/0.2857, allocations: 111.8 kB / 433.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/0.2919, allocations: 4.589 MB / 438 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/0.2926, allocations: 91.38 kB / 438.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.2926, allocations: 20 kB / 438.1 MB, free: 3.531 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.0002747/0.2929, allocations: 205.9 kB / 438.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.293, allocations: 79.16 kB / 438.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001457/0.2932, allocations: 78.84 kB / 438.4 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.2932, allocations: 19.88 kB / 438.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.2932, allocations: 0 / 438.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002037/0.2952, allocations: 1.043 MB / 439.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002512/0.2978, allocations: 1.54 MB / 441 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2978, allocations: 0 / 441 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006097/0.2984, allocations: 115.8 kB / 441.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005246/0.2989, allocations: 169.5 kB / 441.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.299, allocations: 15.98 kB / 441.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.3037, allocations: 3.933 MB / 445.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3037, allocations: 0 / 445.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.3059, allocations: 1.028 MB / 446.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.3062, allocations: 219.9 kB / 446.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.879e-05/0.3063, allocations: 19.94 kB / 446.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/0.3069, allocations: 39.95 kB / 446.6 MB, free: 10.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.307, allocations: 60.55 kB / 446.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/0.307, allocations: 12 kB / 446.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004422/0.3075, allocations: 423.1 kB / 447 MB, free: 10.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3075, allocations: 0 / 447 MB, free: 10.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006868/0.3082, allocations: 251.7 kB / 447.3 MB, free: 9.785 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.0001334/0.3083, allocations: 115.2 kB / 447.4 MB, free: 9.664 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3102, allocations: 1.011 MB / 448.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.3102, allocations: 0 / 448.4 MB, free: 8.602 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008996/0.3111, allocations: 0.5438 MB / 449 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.312, allocations: 219.2 kB / 449.2 MB, free: 7.816 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.3142, allocations: 1.29 MB / 450.5 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.3147, allocations: 0.916 MB / 451.4 MB, free: 5.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002818/0.315, allocations: 89.2 kB / 451.5 MB, free: 5.477 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.3151, allocations: 55.42 kB / 451.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3151, allocations: 0 / 451.5 MB, free: 5.422 MB / 366.1 MB Notification: Performance of Templates: time 0.02254/0.3376, allocations: 16.32 MB / 467.8 MB, free: 5.344 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches