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.001096/0.001096, allocations: 109.6 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 212.1 kB / 19.25 MB, free: 3.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.61 kB / 307.6 MB, free: 0.6562 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09042/0.09174, allocations: 50.53 MB / 358.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006209/0.09799, allocations: 4.846 MB / 363 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002731/0.1008, allocations: 1.39 MB / 364.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.1014, allocations: 11.94 kB / 364.4 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005172/0.102, allocations: 150.7 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.1031, allocations: 333.4 kB / 364.9 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005992/0.1037, allocations: 219.6 kB / 365.1 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.105, allocations: 1.019 MB / 366.1 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004712/0.1055, allocations: 301.8 kB / 366.4 MB, free: 5.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006647/0.1061, allocations: 406.6 kB / 366.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006275/0.1068, allocations: 454.1 kB / 367.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002035/0.107, allocations: 88 kB / 367.3 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.1072, allocations: 88 kB / 367.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.1074, allocations: 195.3 kB / 367.6 MB, free: 4.613 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005597/0.108, allocations: 477.9 kB / 368.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.109, allocations: 1.055 MB / 369.1 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1091, allocations: 7.922 kB / 369.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1091, allocations: 3.938 kB / 369.1 MB, free: 3.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.444e-05/0.1091, allocations: 0 / 369.1 MB, free: 3.074 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.002535/0.1117, allocations: 1.224 MB / 370.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1117, allocations: 8.031 kB / 370.4 MB, free: 1.773 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.1119, allocations: 99.89 kB / 370.5 MB, free: 1.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007732/0.1127, allocations: 0.5081 MB / 371 MB, free: 1.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.1129, allocations: 93.28 kB / 371.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.519e-05/0.113, allocations: 56.36 kB / 371.1 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.1143, allocations: 0.7927 MB / 371.9 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1144, allocations: 0 / 371.9 MB, free: 72 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.619e-05/0.1144, allocations: 28 kB / 371.9 MB, free: 44 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1145, allocations: 12 kB / 371.9 MB, free: 32 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1585/0.273, allocations: 0.4933 MB / 372.4 MB, free: 20.38 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.003582/0.2766, allocations: 2.165 MB / 374.6 MB, free: 19.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.2779, allocations: 0.5319 MB / 375.1 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.2786, allocations: 257.6 kB / 375.4 MB, free: 19.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.2786, allocations: 12.95 kB / 375.4 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.2795, allocations: 325.9 kB / 375.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 3.256e-06/0.2795, allocations: 0 / 375.7 MB, free: 18.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004883/0.2844, allocations: 1.484 MB / 377.2 MB, free: 18.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.2846, allocations: 0.8254 MB / 378 MB, free: 17.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.2854, allocations: 0.5895 MB / 378.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.2855, allocations: 45.48 kB / 378.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.2858, allocations: 339.1 kB / 379 MB, free: 16.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.2859, allocations: 186.8 kB / 379.2 MB, free: 16.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002017/0.2861, allocations: 129.5 kB / 379.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.2862, allocations: 379.7 kB / 379.7 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.2868, allocations: 216.2 kB / 379.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007545/0.2876, allocations: 0.5145 MB / 380.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.2887, allocations: 0.5638 MB / 381 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2887, allocations: 1.094 kB / 381 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002171/0.2909, allocations: 0.8973 MB / 381.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/0.2909, allocations: 60.08 kB / 381.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2909, allocations: 6.219 kB / 381.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007095/0.2917, allocations: 227 kB / 382.1 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.2923, allocations: 113.1 kB / 382.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.2981, allocations: 4.606 MB / 386.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008815/0.299, allocations: 94.55 kB / 387 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.247e-05/0.299, allocations: 22.89 kB / 387 MB, free: 11.2 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.0003447/0.2994, allocations: 209.8 kB / 387.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2995, allocations: 76.53 kB / 387.3 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.2997, allocations: 79 kB / 387.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2997, allocations: 8.188 kB / 387.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.2997, allocations: 0 / 387.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001952/0.3016, allocations: 1.059 MB / 388.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002799/0.3045, allocations: 1.537 MB / 389.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3045, allocations: 1.031 kB / 389.9 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/0.3051, allocations: 108 kB / 390 MB, free: 9.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005409/0.3057, allocations: 178 kB / 390.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/0.3057, allocations: 9.656 kB / 390.2 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/0.3099, allocations: 3.933 MB / 394.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.31, allocations: 1.312 kB / 394.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/0.3122, allocations: 1.019 MB / 395.2 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.3126, allocations: 213.7 kB / 395.4 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.3127, allocations: 21.88 kB / 395.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/0.3133, allocations: 48.7 kB / 395.5 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.3135, allocations: 54.45 kB / 395.5 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.3135, allocations: 21.64 kB / 395.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004726/0.314, allocations: 417.1 kB / 395.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.71e-07/0.314, allocations: 112 / 395.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008937/0.3149, allocations: 257 kB / 396.2 MB, free: 4.762 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.0001491/0.315, allocations: 117.3 kB / 396.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00204/0.3171, allocations: 1.032 MB / 397.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.3171, allocations: 2.75 kB / 397.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008561/0.318, allocations: 0.5512 MB / 397.9 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008961/0.3189, allocations: 210.8 kB / 398.1 MB, free: 3.441 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.3213, allocations: 1.343 MB / 399.4 MB, free: 2.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.3216, allocations: 0.9103 MB / 400.3 MB, free: 1.828 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3218, allocations: 59.67 kB / 400.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3218, allocations: 0 / 400.4 MB, free: 1.812 MB / 302.1 MB Notification: Performance of Templates: time 0.01974/0.3416, allocations: 16.12 MB / 416.5 MB, free: 3.496 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