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.0009203/0.0009203, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.0009979/0.0009979, allocations: 168.7 kB / 24.91 MB, free: 9.195 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.9537/0.9537, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.553e-06/1.553e-06, allocations: 0 / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.239e-05, allocations: 2.312 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003872/0.003894, allocations: 4.393 MB / 277.9 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.005557, allocations: 1.265 MB / 279.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.00577, allocations: 15.94 kB / 279.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.006061, allocations: 134.8 kB / 279.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.006457, allocations: 285.4 kB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.006768, allocations: 203.5 kB / 279.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006744/0.007442, allocations: 0.9682 MB / 280.7 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002111/0.007653, allocations: 170.9 kB / 280.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005117/0.008165, allocations: 0.5457 MB / 281.4 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002982/0.008463, allocations: 291.2 kB / 281.7 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.008538, allocations: 76 kB / 281.8 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.008656, allocations: 87.98 kB / 281.9 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.45e-05/0.008741, allocations: 171.3 kB / 282 MB, free: 8.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.008941, allocations: 295.4 kB / 282.3 MB, free: 8.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.009459, allocations: 0.6111 MB / 282.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.009463, allocations: 0 / 282.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.009464, allocations: 0 / 282.9 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.009472, allocations: 3.938 kB / 283 MB, free: 7.762 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.001065/0.01054, allocations: 0.9968 MB / 283.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.01057, allocations: 8.031 kB / 284 MB, free: 6.719 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.01076, allocations: 108.8 kB / 284.1 MB, free: 6.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003952/0.01115, allocations: 325.6 kB / 284.4 MB, free: 6.266 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.01126, allocations: 148.4 kB / 284.5 MB, free: 6.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.817e-05/0.01132, allocations: 60.31 kB / 284.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.01196, allocations: 1.01 MB / 285.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01198, allocations: 0 / 285.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.01201, allocations: 28 kB / 285.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.01202, allocations: 8 kB / 285.6 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.01226, allocations: 150.9 kB / 285.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/0.01369, allocations: 1.059 MB / 286.8 MB, free: 3.551 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.01438, allocations: 341.2 kB / 287.2 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001294/0.01451, allocations: 102.3 kB / 287.3 MB, free: 3.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.01455, allocations: 16.5 kB / 287.3 MB, free: 3.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.01458, allocations: 47.05 kB / 287.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.013e-06/0.01458, allocations: 0 / 287.3 MB, free: 3.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001798/0.01638, allocations: 0.7536 MB / 288.1 MB, free: 2.262 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.01655, allocations: 0.5722 MB / 288.7 MB, free: 1.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002718/0.01682, allocations: 419.3 kB / 289.1 MB, free: 1.133 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.01685, allocations: 45.7 kB / 289.1 MB, free: 1.082 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.01696, allocations: 230.9 kB / 289.3 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.01708, allocations: 198.2 kB / 289.5 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.01719, allocations: 106.3 kB / 289.6 MB, free: 0.543 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.01732, allocations: 374.7 kB / 290 MB, free: 172 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.01742, allocations: 82.98 kB / 290.1 MB, free: 80 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1019/0.1193, allocations: 0.8122 MB / 290.9 MB, free: 24.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.1197, allocations: 243 kB / 291.1 MB, free: 24.9 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.1197, allocations: 1.625 kB / 291.1 MB, free: 24.9 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008708/0.1206, allocations: 484.4 kB / 291.6 MB, free: 24.78 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.1206, allocations: 34.39 kB / 291.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.1206, allocations: 1 kB / 291.6 MB, free: 24.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.1212, allocations: 189.9 kB / 291.8 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004509/0.1217, allocations: 151.2 kB / 292 MB, free: 24.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.1246, allocations: 4.29 MB / 296.3 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.125, allocations: 57.33 kB / 296.3 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.125, allocations: 14.58 kB / 296.3 MB, free: 21.21 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.0001465/0.1251, allocations: 154.7 kB / 296.5 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.1252, allocations: 64.52 kB / 296.5 MB, free: 21.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007342/0.126, allocations: 436.6 kB / 297 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.126, allocations: 5.594 kB / 297 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.126, allocations: 0 / 297 MB, free: 21.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006471/0.1266, allocations: 0.7157 MB / 297.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.1278, allocations: 0.8077 MB / 298.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1278, allocations: 5.031 kB / 298.5 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004245/0.1282, allocations: 148 kB / 298.7 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.1287, allocations: 164.7 kB / 298.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.1287, allocations: 11.28 kB / 298.8 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/0.1305, allocations: 2.893 MB / 301.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.1305, allocations: 0 / 301.7 MB, free: 17.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000839/0.1313, allocations: 0.5723 MB / 302.3 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.1314, allocations: 79.36 kB / 302.4 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.507e-05/0.1315, allocations: 19.05 kB / 302.4 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.1317, allocations: 27.36 kB / 302.4 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.1318, allocations: 46.05 kB / 302.5 MB, free: 17.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1318, allocations: 13.09 kB / 302.5 MB, free: 17.6 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.132, allocations: 199.2 kB / 302.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.132, allocations: 0 / 302.7 MB, free: 17.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005238/0.1325, allocations: 222 kB / 302.9 MB, free: 17.57 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 0.000101/0.1326, allocations: 98.94 kB / 303 MB, free: 17.5 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000827/0.1334, allocations: 0.7925 MB / 303.8 MB, free: 17.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/0.1334, allocations: 10.72 kB / 303.8 MB, free: 17.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.1338, allocations: 417.8 kB / 304.2 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1342, allocations: 195.1 kB / 304.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1357, allocations: 1.119 MB / 305.5 MB, free: 16.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.1358, allocations: 145.6 kB / 305.6 MB, free: 16.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002437/0.136, allocations: 82.58 kB / 305.7 MB, free: 16.08 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004059/0.1365, allocations: 294.4 kB / 306 MB, free: 16.02 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1365, allocations: 0 / 306 MB, free: 16.02 MB / 266.7 MB Notification: Performance of Templates: time 0.0149/0.1514, allocations: 15.71 MB / 321.7 MB, free: 3.875 MB / 266.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 -s gbode -gbm=radauIIA3 -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: 2.999926627147943]