Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.0009252/0.0009252, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.0009623/0.0009623, allocations: 170.5 kB / 24.91 MB, free: 8.68 MB / 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.952/0.952, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.238e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.006463/0.006486, allocations: 4.835 MB / 278.3 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003262/0.009747, allocations: 1.417 MB / 279.7 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/0.01014, allocations: 15.88 kB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004494/0.01059, allocations: 150.7 kB / 279.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009526/0.01154, allocations: 361.1 kB / 280.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005771/0.01212, allocations: 227.4 kB / 280.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001366/0.01348, allocations: 1.061 MB / 281.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.01386, allocations: 212.3 kB / 281.7 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.01487, allocations: 0.6081 MB / 282.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.01548, allocations: 327.1 kB / 282.7 MB, free: 8.035 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.01566, allocations: 88 kB / 282.7 MB, free: 7.949 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.01581, allocations: 88 kB / 282.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001578/0.01597, allocations: 199.3 kB / 283 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.01637, allocations: 335.3 kB / 283.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008356/0.01721, allocations: 0.7006 MB / 284.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.01721, allocations: 0 / 284.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01721, allocations: 0 / 284.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.846e-05/0.01723, allocations: 0 / 284.1 MB, free: 6.637 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001501/0.01873, allocations: 1.119 MB / 285.2 MB, free: 5.477 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.01876, allocations: 12.03 kB / 285.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.01888, allocations: 116.8 kB / 285.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.01926, allocations: 349.4 kB / 285.6 MB, free: 4.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.01936, allocations: 156.7 kB / 285.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.186e-05/0.01942, allocations: 68.38 kB / 285.9 MB, free: 4.734 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000711/0.02013, allocations: 1.379 MB / 287.2 MB, free: 3.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.02015, allocations: 4.141 kB / 287.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.02018, allocations: 32.12 kB / 287.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.02019, allocations: 12 kB / 287.3 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.02043, allocations: 170.8 kB / 287.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.0219, allocations: 1.24 MB / 288.7 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.02222, allocations: 241.8 kB / 288.9 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.02233, allocations: 102.3 kB / 289 MB, free: 1.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.02236, allocations: 12.5 kB / 289 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.02256, allocations: 198.2 kB / 289.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 2.364e-06/0.02257, allocations: 3.984 kB / 289.2 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.001585/0.02415, allocations: 0.8035 MB / 290 MB, free: 164 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1018/0.126, allocations: 0.82 MB / 290.9 MB, free: 25.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.1264, allocations: 475.1 kB / 291.3 MB, free: 25.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.1265, allocations: 43.31 kB / 291.4 MB, free: 25.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.1267, allocations: 269.2 kB / 291.6 MB, free: 25.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.1268, allocations: 197.6 kB / 291.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.127, allocations: 131.5 kB / 292 MB, free: 25.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.127, allocations: 388 kB / 292.3 MB, free: 24.81 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.1272, allocations: 119.6 kB / 292.4 MB, free: 24.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.1276, allocations: 1.159 MB / 293.6 MB, free: 23.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003245/0.1279, allocations: 327 kB / 293.9 MB, free: 23.28 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1279, allocations: 3.094 kB / 293.9 MB, free: 23.28 MB / 266.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008092/0.1287, allocations: 0.5471 MB / 294.5 MB, free: 23.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.1288, allocations: 66.19 kB / 294.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1288, allocations: 2.438 kB / 294.5 MB, free: 23.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/0.1291, allocations: 149.8 kB / 294.7 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.1295, allocations: 124.3 kB / 294.8 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.132, allocations: 3.295 MB / 298.1 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/0.1324, allocations: 72.7 kB / 298.2 MB, free: 20.56 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1324, allocations: 16.88 kB / 298.2 MB, free: 20.56 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.1326, allocations: 161.1 kB / 298.3 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.1326, allocations: 69.92 kB / 298.4 MB, free: 20.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.1327, allocations: 80.39 kB / 298.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1327, allocations: 4.688 kB / 298.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.1327, allocations: 2.312 kB / 298.5 MB, free: 20.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005853/0.1333, allocations: 0.7212 MB / 299.2 MB, free: 19.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.1343, allocations: 0.8163 MB / 300 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1343, allocations: 3.25 kB / 300 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.1347, allocations: 119.3 kB / 300.2 MB, free: 19.56 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002109/0.1349, allocations: 110.4 kB / 300.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.1349, allocations: 11.77 kB / 300.3 MB, free: 19.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.1366, allocations: 2.953 MB / 303.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1366, allocations: 1.188 kB / 303.2 MB, free: 17.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006299/0.1373, allocations: 0.5201 MB / 303.8 MB, free: 16.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.1374, allocations: 88.02 kB / 303.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.1375, allocations: 18.5 kB / 303.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.1377, allocations: 35.64 kB / 303.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.1378, allocations: 55.72 kB / 303.9 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1378, allocations: 11.8 kB / 304 MB, free: 16.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1381, allocations: 220.1 kB / 304.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0.5 kB / 304.2 MB, free: 16.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005763/0.1386, allocations: 262.1 kB / 304.4 MB, free: 16.88 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001184/0.1387, allocations: 99.78 kB / 304.5 MB, free: 16.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007881/0.1395, allocations: 0.8019 MB / 305.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.1395, allocations: 7.75 kB / 305.3 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.1399, allocations: 428.9 kB / 305.8 MB, free: 16.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.1404, allocations: 223.4 kB / 306 MB, free: 16.06 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.1423, allocations: 1.238 MB / 307.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.1424, allocations: 153.2 kB / 307.4 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.1427, allocations: 80.98 kB / 307.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000598/0.1433, allocations: 338.9 kB / 307.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1433, allocations: 0 / 307.8 MB, free: 15.3 MB / 266.7 MB Notification: Performance of Templates: time 0.01676/0.16, allocations: 18 MB / 325.8 MB, free: 160 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.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: 2.9777389587834477]