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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009818/0.0009818, allocations: 161.2 kB / 25.6 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.926/0.926, allocations: 158.6 MB / 187.5 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.493e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.004115/0.00414, allocations: 4.312 MB / 255.8 MB, free: 2.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002491/0.00663, allocations: 1.243 MB / 257 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000367/0.006997, allocations: 11.88 kB / 257 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.007338, allocations: 134.8 kB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005601/0.007898, allocations: 281.6 kB / 257.4 MB, free: 1.25 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.008305, allocations: 203.5 kB / 257.6 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008731/0.009178, allocations: 0.9679 MB / 258.6 MB, free: 84 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.009439, allocations: 161 kB / 258.8 MB, free: 15.92 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007248/0.01016, allocations: 0.5418 MB / 259.3 MB, free: 15.38 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.01048, allocations: 295.1 kB / 259.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.01057, allocations: 76 kB / 259.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.01067, allocations: 76 kB / 259.7 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.01077, allocations: 171.4 kB / 259.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.01099, allocations: 299.3 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.01153, allocations: 0.6033 MB / 260.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01154, allocations: 0 / 260.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.01154, allocations: 4 kB / 260.8 MB, free: 13.87 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.01155, allocations: 0 / 260.8 MB, free: 13.87 MB / 250.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.001303/0.01285, allocations: 1.157 MB / 262 MB, free: 12.66 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.01289, allocations: 11.98 kB / 262 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.01304, allocations: 128.4 kB / 262.1 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004096/0.01344, allocations: 404.3 kB / 262.5 MB, free: 12.1 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.01356, allocations: 148.4 kB / 262.6 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/0.01363, allocations: 52.38 kB / 262.7 MB, free: 11.88 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009725/0.0146, allocations: 1.071 MB / 263.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.01462, allocations: 0 / 263.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.01465, allocations: 24 kB / 263.8 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.01466, allocations: 8 kB / 263.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/0.0149, allocations: 182.8 kB / 264 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.01647, allocations: 1.408 MB / 265.4 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.01717, allocations: 378.9 kB / 265.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001302/0.0173, allocations: 121.8 kB / 265.9 MB, free: 8.41 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.01733, allocations: 12.5 kB / 265.9 MB, free: 8.395 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.01736, allocations: 49.83 kB / 265.9 MB, free: 8.336 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.453e-06/0.01736, allocations: 0 / 265.9 MB, free: 8.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001758/0.01912, allocations: 0.8621 MB / 266.8 MB, free: 7.457 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.01929, allocations: 0.5722 MB / 267.4 MB, free: 6.746 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.01964, allocations: 0.4984 MB / 267.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/0.01967, allocations: 41.7 kB / 267.9 MB, free: 6.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.01986, allocations: 360.3 kB / 268.3 MB, free: 5.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.01997, allocations: 194.3 kB / 268.4 MB, free: 5.629 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.02009, allocations: 119.9 kB / 268.6 MB, free: 5.504 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.02025, allocations: 0.5468 MB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.02037, allocations: 103 kB / 269.2 MB, free: 4.84 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.02077, allocations: 0.8908 MB / 270.1 MB, free: 3.703 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.02131, allocations: 266 kB / 270.4 MB, free: 3.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.02131, allocations: 4 kB / 270.4 MB, free: 3.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0007953/0.02211, allocations: 0.5774 MB / 270.9 MB, free: 2.805 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.02214, allocations: 29.7 kB / 271 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.02214, allocations: 0 / 271 MB, free: 2.77 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005817/0.02272, allocations: 210.9 kB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003016/0.02303, allocations: 111.9 kB / 271.3 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.02662, allocations: 6.096 MB / 277.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/0.02693, allocations: 67.64 kB / 277.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.02695, allocations: 24.03 kB / 277.5 MB, free: 11.92 MB / 266.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0004325/0.02739, allocations: 196.4 kB / 277.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.02749, allocations: 87.58 kB / 277.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.02828, allocations: 0.4948 MB / 278.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.02828, allocations: 7.984 kB / 278.2 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02828, allocations: 7.938 kB / 278.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007362/0.02902, allocations: 0.7888 MB / 279 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.03033, allocations: 1.01 MB / 280.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.03034, allocations: 0 / 280.1 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.03067, allocations: 119.9 kB / 280.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004897/0.03116, allocations: 167.1 kB / 280.3 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.03119, allocations: 15.94 kB / 280.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002433/0.03362, allocations: 4.14 MB / 284.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.03362, allocations: 0 / 284.5 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.03474, allocations: 0.7001 MB / 285.2 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.03491, allocations: 135.3 kB / 285.3 MB, free: 3.605 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.292e-05/0.03495, allocations: 16 kB / 285.3 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.03515, allocations: 31.97 kB / 285.4 MB, free: 3.559 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.03522, allocations: 48.36 kB / 285.4 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.03523, allocations: 11.98 kB / 285.4 MB, free: 3.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.03541, allocations: 326.7 kB / 285.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03541, allocations: 0 / 285.7 MB, free: 3.184 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.0359, allocations: 227.8 kB / 286 MB, free: 2.961 MB / 266.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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 9.132e-05/0.03599, allocations: 107.2 kB / 286.1 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.03683, allocations: 0.9851 MB / 287.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.03683, allocations: 4 kB / 287.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.03719, allocations: 0.5419 MB / 287.6 MB, free: 1.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.03764, allocations: 186.6 kB / 287.8 MB, free: 1.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.03965, allocations: 1.153 MB / 288.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.0398, allocations: 139.6 kB / 289.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003172/0.04011, allocations: 76.92 kB / 289.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000591/0.04071, allocations: 342 kB / 289.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of SimCode: time 1.173e-06/0.04071, allocations: 0 / 289.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of Templates: time 0.02204/0.06275, allocations: 15.61 MB / 305.1 MB, free: 15.67 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0005841506645083]