Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.328/1.328, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008577/0.0008575, allocations: 74.73 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.286e-05, allocations: 4 kB / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08399/0.08402, allocations: 47.57 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.401, allocations: 83.37 MB / 453.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/0.4013, allocations: 69.28 kB / 453.5 MB, free: 9.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03771/0.439, allocations: 14.02 MB / 467.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4391, allocations: 0 / 467.5 MB, free: 13.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.651e-05/0.4391, allocations: 16 kB / 467.5 MB, free: 13.32 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.00143/0.4406, allocations: 0.8921 MB / 468.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.4406, allocations: 12.03 kB / 468.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.4408, allocations: 91 kB / 468.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.4414, allocations: 451.8 kB / 468.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.4416, allocations: 104.3 kB / 469 MB, free: 11.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.4417, allocations: 48 kB / 469.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009101/0.4426, allocations: 0.5977 MB / 469.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4426, allocations: 0 / 469.7 MB, free: 10.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/0.4427, allocations: 24 kB / 469.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4427, allocations: 12 kB / 469.7 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006817/0.4434, allocations: 387.8 kB / 470.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.4465, allocations: 1.891 MB / 472 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.4483, allocations: 0.6713 MB / 472.6 MB, free: 7.848 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/0.4487, allocations: 230.5 kB / 472.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.1e-05/0.4488, allocations: 16.53 kB / 472.9 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.4488, allocations: 51.64 kB / 472.9 MB, free: 7.539 MB / 346.7 MB Notification: Performance of pre-optimization done (n=56): time 2.455e-06/0.4489, allocations: 0 / 472.9 MB, free: 7.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.001913/0.4508, allocations: 0.6996 MB / 473.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002071/0.451, allocations: 0.5645 MB / 474.2 MB, free: 6.129 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005398/0.4515, allocations: 477 kB / 474.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.4516, allocations: 41.7 kB / 474.7 MB, free: 5.613 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4518, allocations: 276.8 kB / 475 MB, free: 5.336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.452, allocations: 201.1 kB / 475.2 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.452, allocations: 8 kB / 475.2 MB, free: 5.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4521, allocations: 370.8 kB / 475.5 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.4524, allocations: 161.1 kB / 475.7 MB, free: 4.598 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004358/0.4529, allocations: 376.6 kB / 476.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.4532, allocations: 227.4 kB / 476.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4532, allocations: 0 / 476.3 MB, free: 3.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001828/0.4551, allocations: 0.7872 MB / 477.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.4551, allocations: 29.7 kB / 477.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4551, allocations: 0 / 477.1 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008731/0.456, allocations: 214.4 kB / 477.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.4568, allocations: 143.8 kB / 477.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.4623, allocations: 5.01 MB / 482.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.463, allocations: 87.64 kB / 482.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.766e-05/0.463, allocations: 24 kB / 482.6 MB, free: 13.2 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.4632, allocations: 149.9 kB / 482.7 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.4633, allocations: 67.25 kB / 482.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.4653, allocations: 0.7421 MB / 483.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.607e-06/0.4653, allocations: 8 kB / 483.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.4653, allocations: 11.94 kB / 483.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001608/0.4669, allocations: 0.9841 MB / 484.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002654/0.4696, allocations: 1.459 MB / 486 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.4696, allocations: 0 / 486 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.4704, allocations: 139.8 kB / 486.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006567/0.4711, allocations: 157.6 kB / 486.3 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.4711, allocations: 8 kB / 486.3 MB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/0.4754, allocations: 3.4 MB / 489.7 MB, free: 5.602 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.4755, allocations: 3.984 kB / 489.7 MB, free: 5.598 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.4779, allocations: 0.9957 MB / 490.7 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.4783, allocations: 200.1 kB / 490.9 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/0.4784, allocations: 23.98 kB / 490.9 MB, free: 4.344 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.4788, allocations: 39.98 kB / 490.9 MB, free: 4.305 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.479, allocations: 48.42 kB / 491 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.479, allocations: 19.98 kB / 491 MB, free: 4.238 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000442/0.4794, allocations: 373.6 kB / 491.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4795, allocations: 0 / 491.4 MB, free: 3.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007915/0.4803, allocations: 227.8 kB / 491.6 MB, free: 3.652 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/0.4805, allocations: 127.1 kB / 491.7 MB, free: 3.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.482, allocations: 0.9208 MB / 492.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.482, allocations: 4.25 kB / 492.6 MB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007828/0.4828, allocations: 0.5002 MB / 493.1 MB, free: 2.016 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.4835, allocations: 169.6 kB / 493.3 MB, free: 1.852 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.485, allocations: 0.8881 MB / 494.2 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.4854, allocations: 0.8997 MB / 495.1 MB, free: 8 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003019/0.4857, allocations: 81.06 kB / 495.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.4858, allocations: 51.42 kB / 495.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4858, allocations: 0 / 495.2 MB, free: 15.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01871/0.5046, allocations: 12.57 MB / 0.4959 GB, free: 3.293 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches