Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001473/0.001473, allocations: 84.98 kB / 22.99 MB, free: 1.508 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.00185/0.00185, allocations: 171.5 kB / 26.4 MB, free: 7.984 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.9452/0.9452, allocations: 158.6 MB / 188.3 MB, free: 2.824 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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 252.2 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.572e-05, allocations: 6.25 kB / 252.2 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004814/0.004839, allocations: 4.772 MB / 257 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.007539, allocations: 1.387 MB / 258.4 MB, free: 1.059 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004376/0.007977, allocations: 7.938 kB / 258.4 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.008364, allocations: 150.7 kB / 258.6 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007957/0.009159, allocations: 361.1 kB / 258.9 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004788/0.009638, allocations: 219.5 kB / 259.1 MB, free: 340 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.01071, allocations: 1.065 MB / 260.2 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003124/0.01102, allocations: 202.4 kB / 260.4 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008729/0.01189, allocations: 0.6004 MB / 261 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004412/0.01234, allocations: 327.1 kB / 261.3 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.01245, allocations: 88 kB / 261.4 MB, free: 14.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.01256, allocations: 88 kB / 261.5 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.01267, allocations: 191.3 kB / 261.7 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.01304, allocations: 335.3 kB / 262 MB, free: 13.44 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.01373, allocations: 0.7006 MB / 262.7 MB, free: 12.74 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01373, allocations: 3.938 kB / 262.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01373, allocations: 0 / 262.7 MB, free: 12.73 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.01375, allocations: 0 / 262.7 MB, free: 12.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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001476/0.01522, allocations: 1.271 MB / 264 MB, free: 11.41 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.01526, allocations: 11.98 kB / 264 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.01543, allocations: 144.4 kB / 264.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.01592, allocations: 444.1 kB / 264.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.01609, allocations: 148.7 kB / 264.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.814e-05/0.01618, allocations: 72.36 kB / 264.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.0173, allocations: 1.448 MB / 266.2 MB, free: 8.785 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.01732, allocations: 4.188 kB / 266.2 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.01738, allocations: 32.12 kB / 266.3 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.01739, allocations: 12 kB / 266.3 MB, free: 8.738 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.01775, allocations: 202.7 kB / 266.5 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.02008, allocations: 1.615 MB / 268.1 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004738/0.02055, allocations: 283.8 kB / 268.4 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.02071, allocations: 109.1 kB / 268.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.02074, allocations: 12.5 kB / 268.5 MB, free: 6.438 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002888/0.02103, allocations: 207.8 kB / 268.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=56): time 2.395e-06/0.02103, allocations: 0 / 268.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=56): time 0.002409/0.02344, allocations: 0.917 MB / 269.6 MB, free: 5.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002662/0.02371, allocations: 0.831 MB / 270.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.02418, allocations: 0.5607 MB / 271 MB, free: 3.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.02423, allocations: 45.7 kB / 271 MB, free: 3.629 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.02448, allocations: 407.7 kB / 271.4 MB, free: 3.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.02461, allocations: 202.2 kB / 271.6 MB, free: 3.023 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.02479, allocations: 139.9 kB / 271.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.02498, allocations: 0.5585 MB / 272.3 MB, free: 2.309 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.02515, allocations: 128.7 kB / 272.5 MB, free: 2.172 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006405/0.0258, allocations: 1.283 MB / 273.7 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.0262, allocations: 362.1 kB / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.02621, allocations: 0 / 274.1 MB, free: 116 kB / 250.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001037/0.02724, allocations: 0.6631 MB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.02729, allocations: 63.41 kB / 274.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.0273, allocations: 4 kB / 274.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003652/0.02766, allocations: 155.2 kB / 275 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003741/0.02804, allocations: 111.9 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003717/0.03175, allocations: 4.598 MB / 279.7 MB, free: 10.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004411/0.03219, allocations: 67.66 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.03223, allocations: 16 kB / 279.8 MB, free: 10.16 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.0002233/0.03246, allocations: 212.5 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.03258, allocations: 111.4 kB / 280.1 MB, free: 9.828 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.03268, allocations: 74.56 kB / 280.1 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.03268, allocations: 8 kB / 280.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.03269, allocations: 0 / 280.2 MB, free: 9.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008912/0.03358, allocations: 0.785 MB / 280.9 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.03496, allocations: 1.036 MB / 282 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.03496, allocations: 0 / 282 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003533/0.03531, allocations: 99.86 kB / 282.1 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/0.03558, allocations: 123.5 kB / 282.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.03561, allocations: 15.98 kB / 282.2 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.03851, allocations: 4.231 MB / 286.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.03851, allocations: 0 / 286.4 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/0.03938, allocations: 0.6651 MB / 287.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.03962, allocations: 135.4 kB / 287.2 MB, free: 2.23 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.737e-05/0.0397, allocations: 16 kB / 287.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.04005, allocations: 31.97 kB / 287.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.04018, allocations: 60.33 kB / 287.3 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.0402, allocations: 12 kB / 287.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002685/0.04047, allocations: 350.6 kB / 287.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04047, allocations: 0 / 287.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007369/0.04121, allocations: 255.7 kB / 287.9 MB, free: 1.523 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.0001561/0.04136, allocations: 119.2 kB / 288.1 MB, free: 1.398 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.04238, allocations: 0.9491 MB / 289 MB, free: 384 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.04239, allocations: 4.062 kB / 289 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.0429, allocations: 0.5418 MB / 289.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.04362, allocations: 219.2 kB / 289.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.04599, allocations: 1.232 MB / 291 MB, free: 14.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.04613, allocations: 148.5 kB / 291.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002877/0.04642, allocations: 89.05 kB / 291.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000666/0.04708, allocations: 389.9 kB / 291.6 MB, free: 13.68 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.04708, allocations: 4 kB / 291.6 MB, free: 13.67 MB / 282.7 MB Notification: Performance of Templates: time 0.02324/0.07032, allocations: 18.28 MB / 309.9 MB, free: 11.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 3.2668061358854175]