Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002416/0.002416, allocations: 180.2 kB / 13.66 MB, free: 1.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001084/0.001084, allocations: 90.69 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.391e-05, allocations: 4 kB / 321.5 MB, free: 17.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09637, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.5031, allocations: 83.37 MB / 452.4 MB, free: 9.848 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5034, allocations: 69.97 kB / 452.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06373/0.5672, allocations: 14.02 MB / 466.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.5672, allocations: 0 / 466.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.855e-05/0.5673, allocations: 16 kB / 466.5 MB, free: 13.69 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.002689/0.57, allocations: 0.896 MB / 467.4 MB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.5701, allocations: 8.031 kB / 467.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003265/0.5704, allocations: 87.06 kB / 467.5 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.5716, allocations: 451.8 kB / 468 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.5719, allocations: 108.3 kB / 468.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.572, allocations: 44 kB / 468.1 MB, free: 12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.5735, allocations: 0.5976 MB / 468.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/0.5736, allocations: 4 kB / 468.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.232e-05/0.5737, allocations: 24 kB / 468.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.5737, allocations: 12 kB / 468.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.5749, allocations: 383.9 kB / 469.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005382/0.5803, allocations: 1.899 MB / 471 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003176/0.5836, allocations: 0.6685 MB / 471.7 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009262/0.5845, allocations: 234.5 kB / 471.9 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.5847, allocations: 20.53 kB / 472 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.5847, allocations: 47.02 kB / 472 MB, free: 7.902 MB / 346.7 MB Notification: Performance of pre-optimization done (n=56): time 3.347e-06/0.5848, allocations: 0 / 472 MB, free: 7.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=56): time 0.003391/0.5882, allocations: 0.6958 MB / 472.7 MB, free: 7.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002955/0.5885, allocations: 0.5645 MB / 473.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009953/0.5895, allocations: 484.9 kB / 473.7 MB, free: 6.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5897, allocations: 37.7 kB / 473.8 MB, free: 5.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.59, allocations: 303.3 kB / 474.1 MB, free: 5.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.5902, allocations: 193.1 kB / 474.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.5903, allocations: 8 kB / 474.3 MB, free: 5.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.5905, allocations: 338.8 kB / 474.6 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.591, allocations: 161.1 kB / 474.8 MB, free: 4.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.5918, allocations: 368.7 kB / 475.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.5924, allocations: 231.8 kB / 475.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5924, allocations: 0 / 475.3 MB, free: 4.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003495/0.5959, allocations: 0.7447 MB / 476.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.596, allocations: 29.7 kB / 476.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.5961, allocations: 4 kB / 476.1 MB, free: 3.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001539/0.5976, allocations: 214.4 kB / 476.3 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.5992, allocations: 135.8 kB / 476.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009427/0.6086, allocations: 5.02 MB / 481.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.6098, allocations: 87.66 kB / 481.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.6099, allocations: 19.98 kB / 481.6 MB, free: 13.63 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.0002369/0.6101, allocations: 146 kB / 481.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.6103, allocations: 67.25 kB / 481.8 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.6137, allocations: 0.7614 MB / 482.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6138, allocations: 4 kB / 482.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6138, allocations: 0 / 482.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002949/0.6168, allocations: 0.9879 MB / 483.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.6215, allocations: 1.452 MB / 485 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.6216, allocations: 0 / 485 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001616/0.6232, allocations: 143.8 kB / 485.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.6244, allocations: 153.6 kB / 485.3 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.48e-05/0.6245, allocations: 15.98 kB / 485.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006879/0.6314, allocations: 3.4 MB / 488.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6314, allocations: 0 / 488.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.6352, allocations: 0.9883 MB / 489.7 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005316/0.6358, allocations: 208.1 kB / 489.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.636, allocations: 15.94 kB / 489.9 MB, free: 4.777 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007824/0.6368, allocations: 43.97 kB / 490 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.637, allocations: 44.5 kB / 490 MB, free: 4.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.6371, allocations: 15.98 kB / 490 MB, free: 4.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007599/0.6378, allocations: 373.6 kB / 490.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6378, allocations: 0 / 490.4 MB, free: 4.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001147/0.639, allocations: 231.8 kB / 490.6 MB, free: 4.086 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.0002941/0.6393, allocations: 123.1 kB / 490.7 MB, free: 3.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002708/0.642, allocations: 0.9284 MB / 491.7 MB, free: 2.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.6421, allocations: 4 kB / 491.7 MB, free: 2.973 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.6436, allocations: 0.5002 MB / 492.2 MB, free: 2.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.645, allocations: 175.8 kB / 492.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.6479, allocations: 0.9288 MB / 493.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.6485, allocations: 0.9036 MB / 494.2 MB, free: 388 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/0.6489, allocations: 55.42 kB / 494.2 MB, free: 336 kB / 362.7 MB Notification: Performance of SimCode: time 3.496e-06/0.6489, allocations: 3.938 kB / 494.2 MB, free: 332 kB / 362.7 MB Notification: Performance of Templates: time 0.031/0.6799, allocations: 14.6 MB / 0.4969 GB, free: 1.695 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches