Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 114.9 kB / 17.74 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 188.4 kB / 18.67 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 51.92 kB / 352 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2381, allocations: 49.43 MB / 401.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005517/0.2436, allocations: 4.84 MB / 406.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002277/0.2459, allocations: 1.347 MB / 407.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002789/0.2462, allocations: 8 kB / 407.6 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003897/0.2466, allocations: 158.7 kB / 407.8 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.2473, allocations: 341.3 kB / 408.1 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.2478, allocations: 215.6 kB / 408.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009791/0.2488, allocations: 1.026 MB / 409.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004034/0.2492, allocations: 291.2 kB / 409.6 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.2497, allocations: 406.6 kB / 410 MB, free: 392 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004789/0.2502, allocations: 450.2 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001226/0.2503, allocations: 88 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2504, allocations: 88 kB / 410.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.2506, allocations: 199.3 kB / 410.8 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003832/0.251, allocations: 477.8 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.2519, allocations: 1.078 MB / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2519, allocations: 0 / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2519, allocations: 0 / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.252, allocations: 0 / 412.4 MB, free: 14.02 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.002093/0.2541, allocations: 1.216 MB / 413.6 MB, free: 12.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2541, allocations: 8.031 kB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.2543, allocations: 103.9 kB / 413.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.255, allocations: 0.5159 MB / 414.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.2552, allocations: 105.2 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/0.2553, allocations: 52.38 kB / 414.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.2566, allocations: 0.7927 MB / 415.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.2566, allocations: 0 / 415.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.2567, allocations: 28 kB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.2e-05/0.2567, allocations: 12 kB / 415.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.2579, allocations: 0.5074 MB / 415.7 MB, free: 10.46 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.003089/0.261, allocations: 2.154 MB / 417.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.2623, allocations: 0.5259 MB / 418.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.2629, allocations: 266.4 kB / 418.6 MB, free: 7.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.2629, allocations: 13.59 kB / 418.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007385/0.2637, allocations: 323 kB / 419 MB, free: 7.031 MB / 334.1 MB Notification: Performance of pre-optimization done (n=56): time 2.495e-06/0.2637, allocations: 4 kB / 419 MB, free: 7.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=56): time 0.004925/0.2686, allocations: 1.481 MB / 420.4 MB, free: 5.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003655/0.269, allocations: 0.8272 MB / 421.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007245/0.2698, allocations: 0.59 MB / 421.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.085e-05/0.2698, allocations: 45.7 kB / 421.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002601/0.2701, allocations: 340.7 kB / 422.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2703, allocations: 185.2 kB / 422.4 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.2705, allocations: 130.2 kB / 422.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2707, allocations: 378.8 kB / 422.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.2712, allocations: 213 kB / 423.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.272, allocations: 0.5169 MB / 423.6 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.2732, allocations: 0.5615 MB / 424.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2732, allocations: 0 / 424.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002186/0.2754, allocations: 0.9051 MB / 425.1 MB, free: 412 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/0.2755, allocations: 59.41 kB / 425.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2755, allocations: 0 / 425.2 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006983/0.2762, allocations: 225.5 kB / 425.4 MB, free: 108 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.2768, allocations: 119.9 kB / 425.5 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006221/0.2831, allocations: 4.592 MB / 430.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.2839, allocations: 83.39 kB / 430.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-05/0.2839, allocations: 20 kB / 430.2 MB, free: 11.02 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.0003417/0.2843, allocations: 221.8 kB / 430.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.2844, allocations: 75.16 kB / 430.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000133/0.2846, allocations: 71.05 kB / 430.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2846, allocations: 11.94 kB / 430.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2846, allocations: 3.938 kB / 430.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002042/0.2866, allocations: 1.05 MB / 431.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.2892, allocations: 1.536 MB / 433.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2892, allocations: 0 / 433.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.2898, allocations: 107.9 kB / 433.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/0.2904, allocations: 173.5 kB / 433.4 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.2904, allocations: 12 kB / 433.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00469/0.2951, allocations: 3.936 MB / 437.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.2951, allocations: 0 / 437.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.2974, allocations: 1.02 MB / 438.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.2977, allocations: 220 kB / 438.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.2978, allocations: 16 kB / 438.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005833/0.2984, allocations: 39.95 kB / 438.7 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2985, allocations: 56.59 kB / 438.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.2985, allocations: 15.94 kB / 438.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004602/0.299, allocations: 419.1 kB / 439.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.299, allocations: 64 / 439.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007479/0.2998, allocations: 259.6 kB / 439.4 MB, free: 1.281 MB / 350.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.0001613/0.2999, allocations: 119.7 kB / 439.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001947/0.3019, allocations: 1.023 MB / 440.5 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.3019, allocations: 4.5 kB / 440.5 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009264/0.3028, allocations: 0.5472 MB / 441.1 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008405/0.3037, allocations: 215.1 kB / 441.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.3061, allocations: 1.31 MB / 442.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/0.3065, allocations: 0.92 MB / 443.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.3067, allocations: 59.42 kB / 443.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3067, allocations: 0 / 443.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01774/0.3244, allocations: 16.17 MB / 459.8 MB, free: 12.88 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches