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.000929/0.000929, 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.435/1.435, allocations: 205.3 MB / 214.4 MB, free: 1.676 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.000894/0.0008939, allocations: 82.38 kB / 262.4 MB, free: 1.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.96e-05/1.962e-05, allocations: 0 / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08896/0.089, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4126, allocations: 82.94 MB / 446 MB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4129, allocations: 73.83 kB / 446.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03613/0.449, allocations: 13.86 MB / 459.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4491, allocations: 0 / 459.9 MB, free: 1.367 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.473e-05/0.4491, allocations: 12 kB / 460 MB, free: 1.355 MB / 330.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.001471/0.4506, allocations: 0.9024 MB / 460.9 MB, free: 448 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4507, allocations: 8.031 kB / 460.9 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001531/0.4508, allocations: 94.69 kB / 461 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006286/0.4515, allocations: 445.3 kB / 461.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.4516, allocations: 88.66 kB / 461.5 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/0.4517, allocations: 28 kB / 461.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006104/0.4523, allocations: 359.1 kB / 461.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.4531, allocations: 0.5353 MB / 462.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.4531, allocations: 8 kB / 462.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.4531, allocations: 0 / 462.4 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.4532, allocations: 12 kB / 462.4 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.456, allocations: 1.803 MB / 464.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.4576, allocations: 0.6422 MB / 464.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002985/0.4579, allocations: 216.6 kB / 465.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.458, allocations: 12.55 kB / 465.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.458, allocations: 49.92 kB / 465.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=56): time 1.903e-06/0.4581, allocations: 0 / 465.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.001683/0.4597, allocations: 0.6536 MB / 465.8 MB, free: 12.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003103/0.4601, allocations: 0.5754 MB / 466.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004736/0.4605, allocations: 411.8 kB / 466.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.138e-05/0.4606, allocations: 25.7 kB / 466.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/0.4608, allocations: 288.4 kB / 467.1 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.461, allocations: 181.1 kB / 467.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.461, allocations: 4 kB / 467.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4612, allocations: 370.9 kB / 467.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.4614, allocations: 146.4 kB / 467.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.4618, allocations: 354.2 kB / 468.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.4621, allocations: 190.4 kB / 468.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4621, allocations: 0 / 468.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001646/0.4638, allocations: 0.7071 MB / 469 MB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.341e-05/0.4639, allocations: 41.14 kB / 469 MB, free: 9.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4639, allocations: 4 kB / 469 MB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008084/0.4647, allocations: 200.8 kB / 469.2 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/0.4655, allocations: 143.2 kB / 469.4 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005117/0.4706, allocations: 4.855 MB / 474.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.4712, allocations: 67.73 kB / 474.3 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.063e-05/0.4712, allocations: 18.94 kB / 474.3 MB, free: 4.41 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_b.m_flow:VARIABLE(flow=true unit = "kg/s" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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.0002107/0.4714, allocations: 129.3 kB / 474.4 MB, free: 4.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.4715, allocations: 71.25 kB / 474.5 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.4733, allocations: 0.6875 MB / 475.2 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4733, allocations: 4 kB / 475.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4733, allocations: 7.953 kB / 475.2 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001453/0.4747, allocations: 0.9604 MB / 476.2 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.477, allocations: 1.356 MB / 477.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4771, allocations: 0 / 477.5 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007577/0.4778, allocations: 139.2 kB / 477.7 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.4784, allocations: 154.9 kB / 477.8 MB, free: 1.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.4785, allocations: 7.922 kB / 477.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.4821, allocations: 3.289 MB / 481.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4821, allocations: 0 / 481.1 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.484, allocations: 0.9412 MB / 482 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.4842, allocations: 200.2 kB / 482.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/0.4843, allocations: 4 kB / 482.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.4847, allocations: 35.92 kB / 482.3 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.4848, allocations: 48.48 kB / 482.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.4849, allocations: 12 kB / 482.3 MB, free: 12.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003702/0.4852, allocations: 319 kB / 482.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4853, allocations: 0 / 482.7 MB, free: 12.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007616/0.486, allocations: 207.7 kB / 482.9 MB, free: 12.45 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.0001942/0.4862, allocations: 124.1 kB / 483 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.4876, allocations: 0.8573 MB / 483.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.4876, allocations: 12.19 kB / 483.8 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.4884, allocations: 481.4 kB / 484.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006599/0.489, allocations: 151.9 kB / 484.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.4906, allocations: 0.8647 MB / 485.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.491, allocations: 0.9034 MB / 486.2 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002883/0.4913, allocations: 68.91 kB / 486.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.4915, allocations: 51.42 kB / 486.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.4915, allocations: 0 / 486.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of Templates: time 0.0173/0.5088, allocations: 11.28 MB / 497.6 MB, free: 13.54 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