Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.4 MB / 246.9 MB, free: 8.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001255, allocations: 62.28 kB / 306.9 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.08883, allocations: 50.54 MB / 357.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005757/0.09462, allocations: 4.407 MB / 361.8 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.09713, allocations: 1.238 MB / 363.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005359/0.0977, allocations: 11.94 kB / 363.1 MB, free: 8.566 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004762/0.09825, allocations: 107.3 kB / 363.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007793/0.09905, allocations: 234.2 kB / 363.4 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.09956, allocations: 167.8 kB / 363.6 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001055/0.1006, allocations: 0.8868 MB / 364.5 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003631/0.101, allocations: 221.1 kB / 364.7 MB, free: 6.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000585/0.1016, allocations: 342.6 kB / 365 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.1021, allocations: 386.3 kB / 365.4 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.1023, allocations: 56 kB / 365.5 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1025, allocations: 64 kB / 365.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.1026, allocations: 143.4 kB / 365.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004165/0.103, allocations: 406 kB / 366.1 MB, free: 5.578 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.1037, allocations: 0.6741 MB / 366.7 MB, free: 4.902 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.1037, allocations: 4 kB / 366.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1037, allocations: 0 / 366.7 MB, free: 4.898 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.1037, allocations: 0 / 366.7 MB, free: 4.898 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002195/0.1059, allocations: 1.117 MB / 367.9 MB, free: 3.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.106, allocations: 8.031 kB / 367.9 MB, free: 3.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.1063, allocations: 88 kB / 367.9 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007099/0.107, allocations: 484.6 kB / 368.4 MB, free: 3.113 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.1071, allocations: 96.97 kB / 368.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.1072, allocations: 48.36 kB / 368.6 MB, free: 2.961 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1084, allocations: 0.6525 MB / 369.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.1084, allocations: 0 / 369.2 MB, free: 2.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.1085, allocations: 20 kB / 369.2 MB, free: 2.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1085, allocations: 15.94 kB / 369.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1096, allocations: 459.6 kB / 369.7 MB, free: 1.75 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.1785/0.2881, allocations: 1.945 MB / 371.6 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.2903, allocations: 0.6825 MB / 372.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005905/0.2909, allocations: 263.6 kB / 372.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/0.291, allocations: 13.06 kB / 372.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.291, allocations: 48.47 kB / 372.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 3.006e-06/0.2911, allocations: 3.531 kB / 372.6 MB, free: 19.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005343/0.2964, allocations: 1.475 MB / 374.1 MB, free: 18.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/0.2966, allocations: 0.5721 MB / 374.7 MB, free: 18.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.2974, allocations: 0.542 MB / 375.2 MB, free: 17.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.2975, allocations: 38.39 kB / 375.3 MB, free: 17.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.2977, allocations: 281.1 kB / 375.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.2978, allocations: 188.1 kB / 375.7 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.298, allocations: 108.3 kB / 375.8 MB, free: 17.59 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2982, allocations: 369.1 kB / 376.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.2987, allocations: 202.7 kB / 376.4 MB, free: 17.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.2994, allocations: 412.6 kB / 376.8 MB, free: 16.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.3004, allocations: 492.8 kB / 377.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.3004, allocations: 5.469 kB / 377.3 MB, free: 16.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002509/0.3029, allocations: 0.8086 MB / 378.1 MB, free: 16.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.918e-05/0.303, allocations: 33.22 kB / 378.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.303, allocations: 2.875 kB / 378.1 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.3041, allocations: 220.2 kB / 378.3 MB, free: 16.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007586/0.3048, allocations: 132.8 kB / 378.5 MB, free: 16.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.3115, allocations: 5.14 MB / 383.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/0.3123, allocations: 87.22 kB / 383.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.3123, allocations: 18.09 kB / 383.7 MB, free: 11.69 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.3126, allocations: 201.1 kB / 383.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.3128, allocations: 71.75 kB / 384 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.3152, allocations: 0.7762 MB / 384.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.3152, allocations: 5.375 kB / 384.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3152, allocations: 4.594 kB / 384.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00214/0.3174, allocations: 1.036 MB / 385.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003414/0.3208, allocations: 1.506 MB / 387.3 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.3208, allocations: 4 kB / 387.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.3216, allocations: 127.2 kB / 387.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.3225, allocations: 170.7 kB / 387.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/0.3225, allocations: 13.31 kB / 387.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/0.3271, allocations: 3.485 MB / 391.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3271, allocations: 1.406 kB / 391.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.3301, allocations: 1.066 MB / 392.2 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.3305, allocations: 202 kB / 392.4 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.3306, allocations: 13.81 kB / 392.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.3312, allocations: 35.91 kB / 392.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.3314, allocations: 50.31 kB / 392.5 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3314, allocations: 16.53 kB / 392.5 MB, free: 5.898 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005054/0.3319, allocations: 392.7 kB / 392.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3319, allocations: 192 / 392.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008723/0.3328, allocations: 221.6 kB / 393.1 MB, free: 5.684 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001452/0.333, allocations: 115.6 kB / 393.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.3353, allocations: 1.017 MB / 394.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.3353, allocations: 1.344 kB / 394.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009792/0.3363, allocations: 0.5357 MB / 394.7 MB, free: 4.652 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.3374, allocations: 167.1 kB / 394.9 MB, free: 4.598 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.3398, allocations: 1.537 MB / 396.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.3402, allocations: 0.8866 MB / 397.3 MB, free: 2.801 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.3404, allocations: 57.17 kB / 397.4 MB, free: 2.785 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3405, allocations: 5.156 kB / 397.4 MB, free: 2.781 MB / 302.1 MB Notification: Performance of Templates: time 0.02102/0.3615, allocations: 15.36 MB / 412.8 MB, free: 6.387 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches