Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008479/0.0008478, allocations: 83.97 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.238e-05, allocations: 0 / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.083, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2915/0.3746, allocations: 83.7 MB / 446.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000198/0.3748, allocations: 75.33 kB / 446.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04106/0.4159, allocations: 15.64 MB / 462.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.4159, allocations: 0 / 462.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.84e-05/0.416, allocations: 20 kB / 462.5 MB, free: 15.13 MB / 346.7 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.001682/0.4176, allocations: 0.9676 MB / 463.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.4177, allocations: 12.03 kB / 463.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.4179, allocations: 98.88 kB / 463.6 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007072/0.4186, allocations: 471.9 kB / 464 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.4188, allocations: 84.7 kB / 464.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.4189, allocations: 31.95 kB / 464.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007005/0.4196, allocations: 414.6 kB / 464.5 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000903/0.4205, allocations: 0.6665 MB / 465.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4205, allocations: 0 / 465.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.986e-05/0.4206, allocations: 4 kB / 465.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4206, allocations: 12 kB / 465.2 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.4236, allocations: 1.948 MB / 467.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008248/0.4245, allocations: 474.8 kB / 467.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.4248, allocations: 214.8 kB / 467.9 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.22e-05/0.4248, allocations: 19.69 kB / 467.9 MB, free: 10.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004324/0.4253, allocations: 278.3 kB / 468.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of pre-optimization done (n=59): time 2.054e-06/0.4253, allocations: 0 / 468.1 MB, free: 10.38 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.001587/0.4269, allocations: 0.7066 MB / 468.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003281/0.4272, allocations: 0.8232 MB / 469.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.4277, allocations: 452 kB / 470.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.4278, allocations: 29.7 kB / 470.1 MB, free: 8.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.428, allocations: 335.1 kB / 470.5 MB, free: 8.219 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.4281, allocations: 186.7 kB / 470.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.4282, allocations: 0 / 470.7 MB, free: 8.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4283, allocations: 379 kB / 471 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.4286, allocations: 169.8 kB / 471.2 MB, free: 7.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.429, allocations: 468.1 kB / 471.6 MB, free: 7.137 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.4294, allocations: 209.1 kB / 471.9 MB, free: 7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.4294, allocations: 0 / 471.9 MB, free: 7 MB / 346.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001575/0.4309, allocations: 0.7686 MB / 472.6 MB, free: 6.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.431, allocations: 63.28 kB / 472.7 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.431, allocations: 7.953 kB / 472.7 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006865/0.4317, allocations: 211.8 kB / 472.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006533/0.4324, allocations: 131.1 kB / 473 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/0.4371, allocations: 3.95 MB / 477 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.4378, allocations: 83.39 kB / 477.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.751e-05/0.4379, allocations: 19.38 kB / 477.1 MB, free: 2.348 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real idealPump.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real oneWayValve.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real oneWayValve.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.4381, allocations: 133.7 kB / 477.2 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4382, allocations: 79.16 kB / 477.3 MB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.4384, allocations: 71.55 kB / 477.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4384, allocations: 7.938 kB / 477.4 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4384, allocations: 0 / 477.4 MB, free: 2.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.4399, allocations: 0.9728 MB / 478.3 MB, free: 1.145 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.442, allocations: 1.365 MB / 479.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.442, allocations: 3.938 kB / 479.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006429/0.4426, allocations: 123.8 kB / 479.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/0.4431, allocations: 149.6 kB / 480 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.4431, allocations: 3.953 kB / 480 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003673/0.4468, allocations: 3.392 MB / 483.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4468, allocations: 192 / 483.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001444/0.4483, allocations: 0.8864 MB / 484.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002972/0.4486, allocations: 220.1 kB / 484.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.099e-05/0.4487, allocations: 4 kB / 484.5 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.4491, allocations: 35.97 kB / 484.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.4493, allocations: 56.47 kB / 484.6 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4493, allocations: 16 kB / 484.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004013/0.4497, allocations: 350.9 kB / 484.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4497, allocations: 4 kB / 484.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007697/0.4505, allocations: 243.5 kB / 485.2 MB, free: 10.12 MB / 362.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000226/0.4507, allocations: 124.3 kB / 485.3 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.4521, allocations: 0.8905 MB / 486.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4522, allocations: 0 / 486.2 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.4528, allocations: 494 kB / 486.7 MB, free: 8.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.4535, allocations: 175.4 kB / 486.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.455, allocations: 0.7986 MB / 487.6 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.4555, allocations: 0.9397 MB / 488.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003091/0.4558, allocations: 77.03 kB / 488.6 MB, free: 6.516 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.456, allocations: 51.42 kB / 488.7 MB, free: 6.469 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.456, allocations: 3.938 kB / 488.7 MB, free: 6.465 MB / 362.7 MB Notification: Performance of Templates: time 0.0218/0.4778, allocations: 13.03 MB / 0.49 GB, free: 9.418 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches