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.001074/0.001074, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 59.61 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08411/0.0852, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005346/0.09058, allocations: 4.842 MB / 362.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.09262, allocations: 1.382 MB / 363.7 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.09293, allocations: 11.94 kB / 363.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000348/0.09329, allocations: 158.7 kB / 363.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005959/0.0939, allocations: 341.4 kB / 364.2 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004215/0.09433, allocations: 211.7 kB / 364.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008583/0.09519, allocations: 1.026 MB / 365.4 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003594/0.09556, allocations: 293.8 kB / 365.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000472/0.09605, allocations: 410.6 kB / 366.1 MB, free: 5.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.09649, allocations: 446.1 kB / 366.5 MB, free: 4.973 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.09663, allocations: 92 kB / 366.6 MB, free: 4.883 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.09678, allocations: 92 kB / 366.7 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001669/0.09696, allocations: 199.3 kB / 366.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.09737, allocations: 473.8 kB / 367.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.09822, allocations: 1.059 MB / 368.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.09823, allocations: 0 / 368.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.09824, allocations: 0 / 368.4 MB, free: 3.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.09826, allocations: 0 / 368.4 MB, free: 3.07 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.001981/0.1002, allocations: 1.224 MB / 369.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1003, allocations: 15.97 kB / 369.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.1005, allocations: 95.91 kB / 369.8 MB, free: 1.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006386/0.1011, allocations: 0.512 MB / 370.3 MB, free: 1.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.1012, allocations: 105.3 kB / 370.4 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.444e-05/0.1013, allocations: 48.38 kB / 370.4 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.1026, allocations: 0.7927 MB / 371.2 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.1026, allocations: 3.938 kB / 371.2 MB, free: 52 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.1027, allocations: 27.98 kB / 371.3 MB, free: 24 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1027, allocations: 12 kB / 371.3 MB, free: 12 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1484/0.2511, allocations: 0.4962 MB / 371.8 MB, free: 20.82 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.003223/0.2544, allocations: 2.159 MB / 373.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001293/0.2557, allocations: 0.5268 MB / 374.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006067/0.2563, allocations: 265.4 kB / 374.7 MB, free: 19.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.104e-05/0.2564, allocations: 12.55 kB / 374.7 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000863/0.2572, allocations: 323.6 kB / 375 MB, free: 19.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 3.637e-06/0.2573, allocations: 1.375 kB / 375 MB, free: 19.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.004946/0.2622, allocations: 1.483 MB / 376.5 MB, free: 18.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/0.2624, allocations: 0.829 MB / 377.4 MB, free: 17.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.2631, allocations: 0.59 MB / 377.9 MB, free: 17.28 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.884e-05/0.2631, allocations: 40.52 kB / 378 MB, free: 17.24 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002085/0.2634, allocations: 342.4 kB / 378.3 MB, free: 16.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2635, allocations: 185.3 kB / 378.5 MB, free: 16.85 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.2637, allocations: 131.4 kB / 378.6 MB, free: 16.79 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.968e-05/0.2638, allocations: 380.3 kB / 379 MB, free: 16.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005569/0.2644, allocations: 208.7 kB / 379.2 MB, free: 16.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007275/0.2651, allocations: 0.5182 MB / 379.7 MB, free: 15.95 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.2662, allocations: 0.5629 MB / 380.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2662, allocations: 3.922 kB / 380.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002112/0.2683, allocations: 0.897 MB / 381.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.384e-05/0.2684, allocations: 64.33 kB / 381.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2684, allocations: 6.281 kB / 381.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.2691, allocations: 224 kB / 381.5 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006172/0.2697, allocations: 113.7 kB / 381.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.2754, allocations: 4.594 MB / 386.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.2761, allocations: 90.52 kB / 386.3 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.2761, allocations: 24.23 kB / 386.3 MB, free: 11.35 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.000275/0.2764, allocations: 216.1 kB / 386.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2765, allocations: 81.3 kB / 386.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.2767, allocations: 77.42 kB / 386.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.2767, allocations: 10.22 kB / 386.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2767, allocations: 0 / 386.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001966/0.2787, allocations: 1.054 MB / 387.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/0.2815, allocations: 1.53 MB / 389.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2815, allocations: 2.062 kB / 389.3 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006122/0.2821, allocations: 115.3 kB / 389.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005327/0.2826, allocations: 170.2 kB / 389.5 MB, free: 9.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.153e-05/0.2827, allocations: 14.52 kB / 389.5 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004198/0.2869, allocations: 3.937 MB / 393.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.2869, allocations: 0 / 393.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2891, allocations: 1.027 MB / 394.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.2895, allocations: 217.4 kB / 394.7 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.2896, allocations: 14.88 kB / 394.7 MB, free: 5.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006343/0.2903, allocations: 49.92 kB / 394.8 MB, free: 5.191 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.2904, allocations: 51.17 kB / 394.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.2904, allocations: 13.88 kB / 394.9 MB, free: 5.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004785/0.2909, allocations: 421.1 kB / 395.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.22e-07/0.2909, allocations: 112 / 395.3 MB, free: 4.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008865/0.2918, allocations: 256.2 kB / 395.5 MB, free: 4.875 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.0001435/0.292, allocations: 113.9 kB / 395.6 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00216/0.2941, allocations: 1.035 MB / 396.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2941, allocations: 1.375 kB / 396.7 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008884/0.295, allocations: 0.5568 MB / 397.2 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/0.296, allocations: 209.6 kB / 397.4 MB, free: 3.551 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.2984, allocations: 1.301 MB / 398.7 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.2988, allocations: 0.9142 MB / 399.6 MB, free: 1.973 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004145/0.2992, allocations: 84.03 kB / 399.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.2994, allocations: 54.3 kB / 399.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2994, allocations: 0 / 399.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of Templates: time 0.02497/0.3244, allocations: 16.18 MB / 416 MB, free: 3.504 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/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