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.001163/0.001163, allocations: 181.2 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.746/1.746, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008476/0.0008478, allocations: 92.09 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003262, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 47.56 MB / 375.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.3943, allocations: 83.46 MB / 459.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.3945, allocations: 71.97 kB / 459.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03776/0.4323, allocations: 14.03 MB / 473.4 MB, free: 15.03 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4323, allocations: 4 kB / 473.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-05/0.4324, allocations: 16 kB / 473.4 MB, free: 15.01 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001796/0.4342, allocations: 1 MB / 474.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.4342, allocations: 8.031 kB / 474.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.4344, allocations: 87.06 kB / 474.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.4351, allocations: 447.9 kB / 474.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.4352, allocations: 104.3 kB / 475 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-05/0.4353, allocations: 44 kB / 475.1 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.4364, allocations: 0.6611 MB / 475.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4365, allocations: 0 / 475.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/0.4365, allocations: 20 kB / 475.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.4365, allocations: 15.98 kB / 475.8 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.4376, allocations: 487.7 kB / 476.2 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.4407, allocations: 1.903 MB / 478.1 MB, free: 9.969 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.4429, allocations: 0.7559 MB / 478.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.688e-05/0.443, allocations: 12.55 kB / 478.9 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.443, allocations: 43.12 kB / 478.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.295e-06/0.443, allocations: 0 / 478.9 MB, free: 9.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.005458/0.4485, allocations: 1.622 MB / 480.6 MB, free: 7.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002684/0.4488, allocations: 0.5645 MB / 481.1 MB, free: 6.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006658/0.4495, allocations: 486.3 kB / 481.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.4496, allocations: 41.7 kB / 481.6 MB, free: 6.203 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.4498, allocations: 280.7 kB / 481.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.45, allocations: 197.1 kB / 482.1 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.45, allocations: 8 kB / 482.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4502, allocations: 370.8 kB / 482.5 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.4507, allocations: 213 kB / 482.7 MB, free: 5.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007335/0.4515, allocations: 436.5 kB / 483.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005977/0.4521, allocations: 276 kB / 483.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4521, allocations: 0 / 483.4 MB, free: 4.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0024/0.4545, allocations: 0.8692 MB / 484.3 MB, free: 3.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.4546, allocations: 35.89 kB / 484.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.4546, allocations: 0 / 484.3 MB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.4556, allocations: 238.3 kB / 484.5 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007976/0.4564, allocations: 135.8 kB / 484.7 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/0.4637, allocations: 5.239 MB / 489.9 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007441/0.4644, allocations: 91.64 kB / 490 MB, free: 13.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.4645, allocations: 23.98 kB / 490 MB, free: 13.3 MB / 378.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 () * Number of clocked 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.0003768/0.4649, allocations: 197.9 kB / 490.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.465, allocations: 71.23 kB / 490.3 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.4675, allocations: 0.8398 MB / 491.1 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4675, allocations: 8 kB / 491.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.4675, allocations: 0 / 491.1 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002234/0.4697, allocations: 1.097 MB / 492.2 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.4732, allocations: 1.573 MB / 493.8 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4732, allocations: 0 / 493.8 MB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000832/0.4741, allocations: 143.8 kB / 493.9 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008131/0.4749, allocations: 185.5 kB / 494.1 MB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.475, allocations: 8 kB / 494.1 MB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005345/0.4803, allocations: 3.603 MB / 497.7 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4803, allocations: 0 / 497.7 MB, free: 5.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.4833, allocations: 1.156 MB / 498.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000391/0.4838, allocations: 204.1 kB / 499.1 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.974e-05/0.4839, allocations: 15.98 kB / 499.1 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.4843, allocations: 39.98 kB / 499.1 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4845, allocations: 48.48 kB / 499.2 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.4845, allocations: 19.98 kB / 499.2 MB, free: 3.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004984/0.485, allocations: 378.8 kB / 499.6 MB, free: 3.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.485, allocations: 3.938 kB / 499.6 MB, free: 3.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008485/0.4859, allocations: 231.7 kB / 499.8 MB, free: 2.98 MB / 378.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 () * Number of clocked 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.0002136/0.4861, allocations: 127.2 kB / 499.9 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002207/0.4883, allocations: 1.031 MB / 0.4892 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4884, allocations: 0 / 0.4892 GB, free: 1.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.4895, allocations: 0.5513 MB / 0.4897 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008268/0.4903, allocations: 176 kB / 0.4899 GB, free: 1.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.189/0.6794, allocations: 1.545 MB / 0.4914 GB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.6799, allocations: 0.9021 MB / 0.4923 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005713/0.6805, allocations: 74.27 kB / 0.4924 GB, free: 106.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.6808, allocations: 55.66 kB / 0.4924 GB, free: 106.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6808, allocations: 0 / 0.4924 GB, free: 106.4 MB / 378.7 MB Notification: Performance of Templates: time 0.02296/0.7037, allocations: 12.55 MB / 0.5047 GB, free: 104.3 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