Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 145.1 kB / 24.54 MB, free: 36 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.956/0.956, allocations: 173.4 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 268 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.533e-05, allocations: 6.25 kB / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006324/0.00636, allocations: 4.388 MB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.009418, allocations: 1.199 MB / 273.6 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005962/0.01001, allocations: 11.94 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.0105, allocations: 134.8 kB / 273.7 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008682/0.01137, allocations: 285.6 kB / 274 MB, free: 432 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.012, allocations: 195.5 kB / 274.2 MB, free: 236 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.01332, allocations: 0.9683 MB / 275.1 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.01367, allocations: 157 kB / 275.3 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008707/0.01454, allocations: 0.5379 MB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005517/0.01509, allocations: 307.1 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.01525, allocations: 76 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.01539, allocations: 76 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.01554, allocations: 171.4 kB / 276.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003788/0.01592, allocations: 303.3 kB / 276.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008864/0.0168, allocations: 0.615 MB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.01681, allocations: 4 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.01681, allocations: 4 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.738e-05/0.01684, allocations: 0 / 277.4 MB, free: 13.02 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.001977/0.01882, allocations: 1.133 MB / 278.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.01886, allocations: 12.92 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002278/0.01909, allocations: 136.3 kB / 278.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007372/0.01983, allocations: 421.3 kB / 279.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.02002, allocations: 144.4 kB / 279.2 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.02013, allocations: 60.38 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/0.02146, allocations: 1.095 MB / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.02148, allocations: 0 / 280.4 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.02154, allocations: 24 kB / 280.4 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.02156, allocations: 8 kB / 280.4 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005962/0.02215, allocations: 225.8 kB / 280.6 MB, free: 9.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.02516, allocations: 1.486 MB / 282.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.02643, allocations: 419.2 kB / 282.5 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.02672, allocations: 141.1 kB / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.02677, allocations: 8.5 kB / 282.7 MB, free: 7.332 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.02681, allocations: 49.89 kB / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 4.028e-06/0.02682, allocations: 0 / 282.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.003129/0.02995, allocations: 0.9249 MB / 283.6 MB, free: 6.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002672/0.03021, allocations: 0.5683 MB / 284.2 MB, free: 5.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.03068, allocations: 0.5144 MB / 284.7 MB, free: 5.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.03073, allocations: 41.7 kB / 284.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.03091, allocations: 340.4 kB / 285.1 MB, free: 4.703 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.03104, allocations: 202.2 kB / 285.3 MB, free: 4.504 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.03118, allocations: 116 kB / 285.4 MB, free: 4.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.03135, allocations: 0.543 MB / 285.9 MB, free: 3.828 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.03155, allocations: 126.9 kB / 286.1 MB, free: 3.699 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.03203, allocations: 0.9026 MB / 287 MB, free: 2.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/0.03243, allocations: 310 kB / 287.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.03244, allocations: 0 / 287.3 MB, free: 2.223 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001046/0.03348, allocations: 0.6202 MB / 287.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.573e-05/0.03353, allocations: 37.81 kB / 287.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.03353, allocations: 4 kB / 287.9 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007285/0.03426, allocations: 206.9 kB / 288.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.0346, allocations: 123.8 kB / 288.3 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/0.03883, allocations: 6.23 MB / 294.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.03913, allocations: 55.7 kB / 294.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.03916, allocations: 19.98 kB / 294.6 MB, free: 10.51 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.0001745/0.03934, allocations: 196.5 kB / 294.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.109e-05/0.03943, allocations: 79.62 kB / 294.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/0.04038, allocations: 0.5571 MB / 295.4 MB, free: 9.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.04039, allocations: 8 kB / 295.4 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.04039, allocations: 0 / 295.4 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008664/0.04126, allocations: 0.8241 MB / 296.2 MB, free: 8.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001506/0.04276, allocations: 1.13 MB / 297.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.04277, allocations: 4 kB / 297.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003931/0.04316, allocations: 119.9 kB / 297.5 MB, free: 7.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005574/0.04372, allocations: 167.1 kB / 297.6 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.04375, allocations: 19.98 kB / 297.6 MB, free: 7.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002712/0.04646, allocations: 4.206 MB / 301.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.04646, allocations: 0 / 301.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.04756, allocations: 0.7704 MB / 302.6 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.04775, allocations: 119.4 kB / 302.7 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.0478, allocations: 20 kB / 302.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.04802, allocations: 31.97 kB / 302.8 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/0.04812, allocations: 48.34 kB / 302.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.04814, allocations: 16 kB / 302.9 MB, free: 1.738 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.04842, allocations: 354.7 kB / 303.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.04842, allocations: 0 / 303.2 MB, free: 1.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005378/0.04895, allocations: 219.8 kB / 303.4 MB, free: 1.18 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.0001305/0.04909, allocations: 118.1 kB / 303.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.1015/0.1506, allocations: 1.019 MB / 304.5 MB, free: 43.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.1506, allocations: 0 / 304.5 MB, free: 43.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.1512, allocations: 0.5569 MB / 305.1 MB, free: 43.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.1519, allocations: 185.2 kB / 305.3 MB, free: 43.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1538, allocations: 1.16 MB / 306.4 MB, free: 42.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.1539, allocations: 145.1 kB / 306.6 MB, free: 42.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000211/0.1542, allocations: 78.42 kB / 306.7 MB, free: 42.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/0.1543, allocations: 52.69 kB / 306.7 MB, free: 42.61 MB / 282.7 MB Notification: Performance of SimCode: time 1.633e-06/0.1543, allocations: 0 / 306.7 MB, free: 42.61 MB / 282.7 MB Notification: Performance of Templates: time 0.01667/0.1709, allocations: 14.68 MB / 321.4 MB, free: 36.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.246136770118028]