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.001195/0.001195, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008127/0.0008126, allocations: 95.77 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002335/0.0002335, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2209, allocations: 47.56 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09846/0.3194, allocations: 84.22 MB / 460 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.3197, allocations: 83.95 kB / 460.1 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04223/0.362, allocations: 15.83 MB / 475.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.362, allocations: 0 / 475.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.659e-05/0.3621, allocations: 16 kB / 476 MB, free: 12.39 MB / 362.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.001973/0.364, allocations: 1.085 MB / 477 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3641, allocations: 8.031 kB / 477 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.3643, allocations: 94.97 kB / 477.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007186/0.365, allocations: 486.5 kB / 477.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.3652, allocations: 100.7 kB / 477.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.383e-05/0.3653, allocations: 52 kB / 477.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.3666, allocations: 0.8136 MB / 478.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.3666, allocations: 0 / 478.6 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.3667, allocations: 27.98 kB / 478.6 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3667, allocations: 12 kB / 478.6 MB, free: 9.512 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.3679, allocations: 0.5465 MB / 479.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.3714, allocations: 2.047 MB / 481.2 MB, free: 6.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.3729, allocations: 0.6114 MB / 481.8 MB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.383e-05/0.373, allocations: 17.64 kB / 481.8 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008295/0.3738, allocations: 351 kB / 482.2 MB, free: 5.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.889e-06/0.3738, allocations: 4 kB / 482.2 MB, free: 5.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.005411/0.3792, allocations: 1.67 MB / 483.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003949/0.3797, allocations: 0.8232 MB / 484.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007287/0.3804, allocations: 0.5191 MB / 485.2 MB, free: 2.559 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.079e-05/0.3805, allocations: 41.7 kB / 485.2 MB, free: 2.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.3808, allocations: 332.8 kB / 485.6 MB, free: 2.184 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.381, allocations: 201 kB / 485.8 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.3811, allocations: 12 kB / 485.8 MB, free: 1.973 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.3812, allocations: 382.7 kB / 486.1 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005973/0.3818, allocations: 245.1 kB / 486.4 MB, free: 1.348 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008742/0.3827, allocations: 0.5412 MB / 486.9 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006824/0.3834, allocations: 330.3 kB / 487.2 MB, free: 360 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3834, allocations: 3.938 kB / 487.2 MB, free: 356 kB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0024/0.3858, allocations: 0.9639 MB / 488.2 MB, free: 15.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.3859, allocations: 63.44 kB / 488.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.386, allocations: 8 kB / 488.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007402/0.3867, allocations: 229.4 kB / 488.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006914/0.3874, allocations: 127.8 kB / 488.6 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/0.3941, allocations: 4.35 MB / 493 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.3949, allocations: 87.41 kB / 493.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.395, allocations: 23.98 kB / 493.1 MB, free: 10.2 MB / 378.7 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Number of clocked 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.0003911/0.3954, allocations: 221.8 kB / 493.3 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.3955, allocations: 75.16 kB / 493.4 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.3957, allocations: 86.81 kB / 493.5 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3957, allocations: 7.984 kB / 493.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3957, allocations: 0 / 493.5 MB, free: 9.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002122/0.3978, allocations: 1.125 MB / 494.6 MB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002808/0.4006, allocations: 1.615 MB / 496.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.4006, allocations: 0 / 496.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006637/0.4013, allocations: 123.8 kB / 496.3 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00053/0.4019, allocations: 169.6 kB / 496.5 MB, free: 6.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.4019, allocations: 8 kB / 496.5 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005028/0.4069, allocations: 3.736 MB / 0.4885 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.407, allocations: 4.031 kB / 0.4885 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.4095, allocations: 1.121 MB / 0.4896 GB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.4099, allocations: 216 kB / 0.4898 GB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.41, allocations: 16.38 kB / 0.4898 GB, free: 1.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.4105, allocations: 51.92 kB / 0.4899 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.4107, allocations: 64.47 kB / 0.49 GB, free: 1.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.4107, allocations: 20 kB / 0.49 GB, free: 1.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005636/0.4113, allocations: 415.1 kB / 0.4904 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4113, allocations: 0 / 0.4904 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008965/0.4122, allocations: 267.7 kB / 0.4906 GB, free: 388 kB / 378.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) * Number of clocked states: 0 () * 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.0002311/0.4124, allocations: 139.3 kB / 0.4908 GB, free: 236 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1667/0.5792, allocations: 1.056 MB / 0.4918 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/0.5793, allocations: 2.219 kB / 0.4918 GB, free: 105.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.5805, allocations: 0.5746 MB / 0.4923 GB, free: 105.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.5815, allocations: 191.9 kB / 0.4925 GB, free: 105.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.5845, allocations: 1.554 MB / 0.494 GB, free: 105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.5851, allocations: 0.9366 MB / 0.495 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005033/0.5856, allocations: 76.28 kB / 0.495 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.5858, allocations: 58.62 kB / 0.4951 GB, free: 104.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.252e-06/0.5858, allocations: 0 / 0.4951 GB, free: 104.3 MB / 378.7 MB Notification: Performance of Templates: time 0.02359/0.6094, allocations: 14.5 MB / 0.5092 GB, free: 101.2 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