Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00135/0.00135, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001541/0.001541, allocations: 161 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9335/0.9335, allocations: 177.1 MB / 205 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 273 MB, free: 1.582 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.374e-05/1.498e-05, allocations: 2.312 kB / 273 MB, free: 1.578 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003736/0.00375, allocations: 4.402 MB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.005387, allocations: 1.226 MB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.005606, allocations: 11.94 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.005901, allocations: 134.8 kB / 278.7 MB, free: 11.78 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.006324, allocations: 281.5 kB / 279 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003455/0.00667, allocations: 211.4 kB / 279.2 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007002/0.00737, allocations: 0.9605 MB / 280.2 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.007586, allocations: 161 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007559/0.008342, allocations: 0.5456 MB / 280.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.008632, allocations: 299.2 kB / 281.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.22e-05/0.008715, allocations: 80 kB / 281.2 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.008826, allocations: 80 kB / 281.3 MB, free: 9.172 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.008917, allocations: 179.3 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.009117, allocations: 295.4 kB / 281.8 MB, free: 8.707 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.009621, allocations: 0.6227 MB / 282.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.009623, allocations: 0 / 282.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.009624, allocations: 0 / 282.4 MB, free: 8.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.00963, allocations: 0 / 282.4 MB, free: 8.082 MB / 266.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.001173/0.0108, allocations: 1.145 MB / 283.6 MB, free: 6.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.01083, allocations: 8.031 kB / 283.6 MB, free: 6.879 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.01103, allocations: 140.4 kB / 283.7 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.01147, allocations: 417.3 kB / 284.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.01158, allocations: 148.4 kB / 284.3 MB, free: 6.133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.01164, allocations: 56.38 kB / 284.3 MB, free: 6.078 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007248/0.01237, allocations: 1.091 MB / 285.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.01238, allocations: 0 / 285.4 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.01242, allocations: 28 kB / 285.4 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.01243, allocations: 8 kB / 285.4 MB, free: 4.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.01279, allocations: 233.7 kB / 285.7 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.01447, allocations: 1.486 MB / 287.1 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008321/0.01531, allocations: 407.3 kB / 287.5 MB, free: 2.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.0155, allocations: 137.1 kB / 287.7 MB, free: 2.402 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.01553, allocations: 16.5 kB / 287.7 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.01556, allocations: 49.89 kB / 287.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.503e-06/0.01556, allocations: 0 / 287.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001967/0.01753, allocations: 0.9209 MB / 288.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.01767, allocations: 0.5683 MB / 289.2 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003739/0.01804, allocations: 0.5182 MB / 289.8 MB, free: 152 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.01808, allocations: 41.7 kB / 289.8 MB, free: 104 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.01824, allocations: 356.4 kB / 290.1 MB, free: 15.74 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.517e-05/0.01834, allocations: 194.3 kB / 290.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.01846, allocations: 112 kB / 290.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01859, allocations: 0.5469 MB / 291 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.01876, allocations: 119 kB / 291.1 MB, free: 14.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/0.01917, allocations: 0.9104 MB / 292 MB, free: 13.6 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.01953, allocations: 314 kB / 292.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01953, allocations: 0 / 292.3 MB, free: 13.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009045/0.02044, allocations: 0.6243 MB / 292.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.02046, allocations: 39.98 kB / 293 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.02047, allocations: 0 / 293 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/0.0211, allocations: 210.9 kB / 293.2 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.02141, allocations: 115.9 kB / 293.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.02526, allocations: 6.215 MB / 299.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.0255, allocations: 59.78 kB / 299.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.02553, allocations: 19.98 kB / 299.6 MB, free: 5.57 MB / 282.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.0001402/0.02567, allocations: 192.5 kB / 299.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.02575, allocations: 91.58 kB / 299.9 MB, free: 5.281 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008838/0.02664, allocations: 0.5494 MB / 300.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.02664, allocations: 8 kB / 300.4 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.02664, allocations: 4 kB / 300.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008294/0.02747, allocations: 0.8202 MB / 301.3 MB, free: 3.77 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003038/0.03051, allocations: 1.134 MB / 302.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.03051, allocations: 4 kB / 302.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.03086, allocations: 115.9 kB / 302.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.03139, allocations: 175.1 kB / 302.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.03141, allocations: 15.98 kB / 302.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1031/0.1345, allocations: 4.191 MB / 306.9 MB, free: 36.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1345, allocations: 3.562 kB / 306.9 MB, free: 36.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.1359, allocations: 0.7668 MB / 307.7 MB, free: 35.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.1361, allocations: 127.5 kB / 307.8 MB, free: 35.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.1362, allocations: 16.61 kB / 307.8 MB, free: 35.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1364, allocations: 32.59 kB / 307.8 MB, free: 35.99 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.625e-05/0.1365, allocations: 47.36 kB / 307.9 MB, free: 35.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.1365, allocations: 15.42 kB / 307.9 MB, free: 35.99 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003005/0.1368, allocations: 347.8 kB / 308.2 MB, free: 35.86 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1368, allocations: 1.406 kB / 308.2 MB, free: 35.86 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005416/0.1373, allocations: 227.3 kB / 308.5 MB, free: 35.86 MB / 282.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 0.0001056/0.1374, allocations: 118.3 kB / 308.6 MB, free: 35.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.1385, allocations: 1.02 MB / 309.6 MB, free: 35.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1385, allocations: 2.031 kB / 309.6 MB, free: 35.13 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.139, allocations: 0.5565 MB / 310.1 MB, free: 34.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006983/0.1397, allocations: 195.9 kB / 310.3 MB, free: 34.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/0.1417, allocations: 1.147 MB / 311.5 MB, free: 34.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.1418, allocations: 140.3 kB / 311.6 MB, free: 34.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.142, allocations: 75.28 kB / 311.7 MB, free: 34.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1422, allocations: 52.53 kB / 311.7 MB, free: 34.15 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1422, allocations: 4.688 kB / 311.7 MB, free: 34.15 MB / 282.7 MB Notification: Performance of Templates: time 0.01777/0.1599, allocations: 14.7 MB / 326.4 MB, free: 27 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.2975818049162626]