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.000996/0.000996, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001072/0.001072, allocations: 168.3 kB / 25.7 MB, free: 7.906 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.9865/0.9865, allocations: 158.6 MB / 187.6 MB, free: 2.801 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.693e-06/1.693e-06, allocations: 0 / 251.6 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.293e-05/2.463e-05, allocations: 6.25 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003955/0.00398, allocations: 4.374 MB / 255.9 MB, free: 2.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.005996, allocations: 1.289 MB / 257.2 MB, free: 1.539 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002267/0.006223, allocations: 11.94 kB / 257.2 MB, free: 1.527 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.006529, allocations: 134.8 kB / 257.4 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004223/0.006951, allocations: 285.5 kB / 257.6 MB, free: 1.113 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.007291, allocations: 195.6 kB / 257.8 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007595/0.00805, allocations: 0.9605 MB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.008268, allocations: 170.8 kB / 259 MB, free: 15.78 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.008801, allocations: 0.5418 MB / 259.5 MB, free: 15.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003105/0.009111, allocations: 295.2 kB / 259.8 MB, free: 14.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.811e-05/0.00919, allocations: 76 kB / 259.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.834e-05/0.009268, allocations: 76 kB / 259.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.009364, allocations: 175.3 kB / 260.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.009567, allocations: 299.3 kB / 260.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.01007, allocations: 0.6072 MB / 261 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01007, allocations: 0 / 261 MB, free: 13.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01007, allocations: 0 / 261 MB, free: 13.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.01008, allocations: 0 / 261 MB, free: 13.73 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.001015/0.0111, allocations: 0.9968 MB / 262 MB, free: 12.69 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.01113, allocations: 15.98 kB / 262 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.01123, allocations: 104.8 kB / 262.1 MB, free: 12.57 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003636/0.01159, allocations: 329.6 kB / 262.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.0117, allocations: 148.4 kB / 262.6 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.01175, allocations: 56.38 kB / 262.6 MB, free: 12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.01236, allocations: 1.014 MB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.01237, allocations: 4 kB / 263.7 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.01241, allocations: 20 kB / 263.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.427e-06/0.01241, allocations: 12 kB / 263.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002243/0.01264, allocations: 150.9 kB / 263.8 MB, free: 10.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.01397, allocations: 1.047 MB / 264.9 MB, free: 9.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006464/0.01462, allocations: 337.5 kB / 265.2 MB, free: 9.184 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.01474, allocations: 102.3 kB / 265.3 MB, free: 9.082 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.01478, allocations: 12.5 kB / 265.3 MB, free: 9.066 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.0148, allocations: 51 kB / 265.4 MB, free: 9.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=54): time 1.603e-06/0.0148, allocations: 0 / 265.4 MB, free: 9.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=54): time 0.001618/0.01642, allocations: 0.7575 MB / 266.1 MB, free: 8.234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.01659, allocations: 0.5722 MB / 266.7 MB, free: 7.527 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.01684, allocations: 423.3 kB / 267.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.01687, allocations: 37.7 kB / 267.2 MB, free: 7.059 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.01697, allocations: 234.9 kB / 267.4 MB, free: 6.82 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.514e-05/0.01707, allocations: 198.2 kB / 267.6 MB, free: 6.625 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.01718, allocations: 106.3 kB / 267.7 MB, free: 6.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.01728, allocations: 370.7 kB / 268.1 MB, free: 6.145 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01738, allocations: 86.98 kB / 268.1 MB, free: 6.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.01773, allocations: 0.8073 MB / 268.9 MB, free: 5.031 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.01797, allocations: 259.7 kB / 269.2 MB, free: 4.758 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.01797, allocations: 0 / 269.2 MB, free: 4.758 MB / 250.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0006765/0.01865, allocations: 488 kB / 269.7 MB, free: 4.25 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.01867, allocations: 29.7 kB / 269.7 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01868, allocations: 4 kB / 269.7 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.01923, allocations: 194.3 kB / 269.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.01962, allocations: 143.8 kB / 270 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003164/0.02279, allocations: 4.286 MB / 274.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.02302, allocations: 67.58 kB / 274.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.02305, allocations: 19.98 kB / 274.4 MB, free: 15.24 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.0001307/0.02318, allocations: 145.8 kB / 274.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.128e-05/0.02325, allocations: 63.94 kB / 274.6 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000683/0.02393, allocations: 431.1 kB / 275 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.02394, allocations: 8 kB / 275 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.02394, allocations: 3.938 kB / 275 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006416/0.02458, allocations: 0.7141 MB / 275.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.02564, allocations: 0.8067 MB / 276.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.02564, allocations: 0 / 276.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003998/0.02604, allocations: 155.8 kB / 276.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004688/0.02651, allocations: 157.5 kB / 276.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.02653, allocations: 12 kB / 276.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.02862, allocations: 2.89 MB / 279.8 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.02862, allocations: 3.938 kB / 279.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.02941, allocations: 0.5704 MB / 280.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.02953, allocations: 79.47 kB / 280.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.02958, allocations: 12 kB / 280.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.02977, allocations: 27.98 kB / 280.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.02986, allocations: 52.28 kB / 280.5 MB, free: 8.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.02988, allocations: 11.98 kB / 280.5 MB, free: 8.742 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.03003, allocations: 204.4 kB / 280.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03003, allocations: 0 / 280.7 MB, free: 8.543 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000448/0.03048, allocations: 223.7 kB / 280.9 MB, free: 8.324 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.0001024/0.03058, allocations: 92.36 kB / 281 MB, free: 8.223 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008347/0.03142, allocations: 0.7893 MB / 281.8 MB, free: 7.375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.03143, allocations: 8 kB / 281.8 MB, free: 7.367 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.03179, allocations: 429.6 kB / 282.3 MB, free: 6.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.03223, allocations: 194.7 kB / 282.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.03389, allocations: 1.128 MB / 283.6 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.03399, allocations: 139.7 kB / 283.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.03421, allocations: 77.03 kB / 283.8 MB, free: 5.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004391/0.03465, allocations: 293.1 kB / 284.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03465, allocations: 0 / 284.1 MB, free: 5.055 MB / 266.7 MB Notification: Performance of Templates: time 0.01731/0.05196, allocations: 15.7 MB / 299.8 MB, free: 5.387 MB / 282.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 -s gbode -gbm=radauIIA3 -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.1814342536963522]