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.0008586/0.0008587, allocations: 95.88 kB / 18 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 203.6 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.348/1.348, allocations: 227.7 MB / 247.5 MB, free: 11.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002356/0.0002357, allocations: 8 kB / 308.4 MB, free: 0.8086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09364/0.09389, allocations: 51.53 MB / 359.9 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004878/0.09881, allocations: 4.46 MB / 364.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1015, allocations: 1.367 MB / 365.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005911/0.1021, allocations: 15.94 kB / 365.8 MB, free: 7.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.1026, allocations: 123.2 kB / 365.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1037, allocations: 301.9 kB / 366.2 MB, free: 6.992 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005674/0.1043, allocations: 191.7 kB / 366.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1055, allocations: 0.9683 MB / 367.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004332/0.106, allocations: 265.8 kB / 367.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006568/0.1067, allocations: 370.6 kB / 367.9 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006115/0.1073, allocations: 422.1 kB / 368.4 MB, free: 4.777 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001787/0.1075, allocations: 56 kB / 368.4 MB, free: 4.723 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1077, allocations: 60 kB / 368.5 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.1079, allocations: 163.3 kB / 368.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005351/0.1084, allocations: 475.5 kB / 369.1 MB, free: 4.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.1091, allocations: 0.779 MB / 369.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1091, allocations: 0 / 369.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1091, allocations: 0 / 369.9 MB, free: 3.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.013e-05/0.1091, allocations: 0 / 369.9 MB, free: 3.25 MB / 302.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.002101/0.1112, allocations: 1.073 MB / 370.9 MB, free: 2.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1113, allocations: 8.031 kB / 371 MB, free: 2.105 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.1115, allocations: 103.8 kB / 371.1 MB, free: 2.004 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000854/0.1124, allocations: 0.5042 MB / 371.6 MB, free: 1.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.1126, allocations: 105.3 kB / 371.7 MB, free: 1.344 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/0.1127, allocations: 56.36 kB / 371.7 MB, free: 1.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.1141, allocations: 0.82 MB / 372.5 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.1141, allocations: 0 / 372.5 MB, free: 372 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.1142, allocations: 24 kB / 372.6 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.1142, allocations: 12 kB / 372.6 MB, free: 336 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1641/0.2783, allocations: 0.5264 MB / 373.1 MB, free: 19.17 MB / 302.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.004028/0.2824, allocations: 2.164 MB / 375.3 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.2839, allocations: 0.5717 MB / 375.8 MB, free: 18.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/0.2845, allocations: 275 kB / 376.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.027e-05/0.2846, allocations: 13.11 kB / 376.1 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008308/0.2854, allocations: 342.1 kB / 376.4 MB, free: 18.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.986e-06/0.2855, allocations: 3.625 kB / 376.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005092/0.2905, allocations: 1.609 MB / 378.1 MB, free: 17.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001779/0.2908, allocations: 0.8251 MB / 378.9 MB, free: 16.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.2916, allocations: 0.5847 MB / 379.5 MB, free: 16.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.498e-05/0.2917, allocations: 43.7 kB / 379.5 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.292, allocations: 341.3 kB / 379.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.2921, allocations: 183.7 kB / 380 MB, free: 15.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.2922, allocations: 50.02 kB / 380.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2923, allocations: 384.5 kB / 380.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.2929, allocations: 226.7 kB / 380.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.2938, allocations: 0.5332 MB / 381.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.295, allocations: 0.5923 MB / 381.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.295, allocations: 1 kB / 381.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002355/0.2974, allocations: 0.9521 MB / 382.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.2974, allocations: 64.89 kB / 382.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2974, allocations: 6.344 kB / 382.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007295/0.2982, allocations: 231 kB / 383 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006386/0.2988, allocations: 123.4 kB / 383.2 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00567/0.3045, allocations: 4.261 MB / 387.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009109/0.3054, allocations: 100.1 kB / 387.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.172e-05/0.3055, allocations: 23.06 kB / 387.5 MB, free: 10.68 MB / 302.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.0003923/0.3059, allocations: 216.9 kB / 387.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.3061, allocations: 81.88 kB / 387.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.3063, allocations: 77.86 kB / 387.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3063, allocations: 5.094 kB / 387.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3063, allocations: 1.5 kB / 387.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002094/0.3084, allocations: 1.1 MB / 389 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3113, allocations: 1.58 MB / 390.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3113, allocations: 2.094 kB / 390.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006285/0.312, allocations: 111.8 kB / 390.7 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000568/0.3125, allocations: 179.9 kB / 390.9 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/0.3126, allocations: 16.84 kB / 390.9 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004189/0.3168, allocations: 3.669 MB / 394.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3168, allocations: 0 / 394.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.3193, allocations: 1.077 MB / 395.7 MB, free: 5.102 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.3196, allocations: 210.3 kB / 395.9 MB, free: 4.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/0.3198, allocations: 17.59 kB / 395.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007068/0.3205, allocations: 55.58 kB / 395.9 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.3207, allocations: 57.05 kB / 396 MB, free: 4.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.343e-05/0.3207, allocations: 18.36 kB / 396 MB, free: 4.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005159/0.3212, allocations: 418.2 kB / 396.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3212, allocations: 0 / 396.4 MB, free: 4.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001025/0.3223, allocations: 251.1 kB / 396.7 MB, free: 4.547 MB / 302.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.000165/0.3224, allocations: 123.3 kB / 396.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3246, allocations: 1.042 MB / 397.8 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.3246, allocations: 1.375 kB / 397.8 MB, free: 3.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3256, allocations: 0.5604 MB / 398.4 MB, free: 3.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3267, allocations: 196.6 kB / 398.6 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002705/0.3295, allocations: 1.654 MB / 400.2 MB, free: 2.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3298, allocations: 0.9146 MB / 401.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.33, allocations: 56.45 kB / 401.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.33, allocations: 0 / 401.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of Templates: time 0.02024/0.3503, allocations: 16.03 MB / 417.2 MB, free: 2.695 MB / 318.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