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.0009674/0.0009674, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001068/0.001068, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 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 1.081/1.081, allocations: 173.3 MB / 201.4 MB, free: 9.23 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.523e-06/1.523e-06, allocations: 0 / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.292e-05, allocations: 2.312 kB / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003797/0.00382, allocations: 4.322 MB / 272.7 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.005593, allocations: 1.183 MB / 273.9 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002439/0.005837, allocations: 11.94 kB / 273.9 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002994/0.006136, allocations: 138.8 kB / 274 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.006555, allocations: 289.4 kB / 274.3 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.006875, allocations: 203.6 kB / 274.5 MB, free: 56 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007086/0.007583, allocations: 0.9527 MB / 275.5 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.007799, allocations: 168.9 kB / 275.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.008268, allocations: 0.5379 MB / 276.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002977/0.008565, allocations: 295.2 kB / 276.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.008647, allocations: 79.94 kB / 276.6 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.008732, allocations: 76 kB / 276.6 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.008824, allocations: 175.3 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001976/0.009022, allocations: 295.4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.009524, allocations: 0.6033 MB / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.009527, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.009528, allocations: 0 / 277.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.009534, allocations: 0 / 277.7 MB, free: 12.88 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.001142/0.01068, allocations: 1.145 MB / 278.8 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.01072, allocations: 12.91 kB / 278.8 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.01084, allocations: 128.4 kB / 279 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.01125, allocations: 416.2 kB / 279.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.01137, allocations: 144.4 kB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.01144, allocations: 60.36 kB / 279.6 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006734/0.01211, allocations: 1.063 MB / 280.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.01213, allocations: 0 / 280.6 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.01216, allocations: 24 kB / 280.7 MB, free: 9.574 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.01217, allocations: 8 kB / 280.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002435/0.01241, allocations: 186.8 kB / 280.9 MB, free: 9.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.01401, allocations: 1.4 MB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.01473, allocations: 379.2 kB / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.01487, allocations: 125 kB / 282.7 MB, free: 7.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.01491, allocations: 20.48 kB / 282.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.01493, allocations: 45.89 kB / 282.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 2.114e-06/0.01493, allocations: 4 kB / 282.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.001839/0.01677, allocations: 0.8624 MB / 283.7 MB, free: 6.457 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001645/0.01694, allocations: 0.5644 MB / 284.2 MB, free: 5.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.01727, allocations: 0.4946 MB / 284.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/0.01731, allocations: 45.7 kB / 284.8 MB, free: 5.195 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.01749, allocations: 364.3 kB / 285.1 MB, free: 4.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/0.01759, allocations: 198.2 kB / 285.3 MB, free: 4.633 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.01771, allocations: 116 kB / 285.4 MB, free: 4.512 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.01787, allocations: 0.5507 MB / 286 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.01799, allocations: 94.95 kB / 286.1 MB, free: 3.852 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.01842, allocations: 0.8908 MB / 287 MB, free: 2.715 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.0187, allocations: 270 kB / 287.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01871, allocations: 0 / 287.2 MB, free: 2.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0008354/0.01954, allocations: 0.5812 MB / 287.8 MB, free: 1.812 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.867e-05/0.01957, allocations: 29.7 kB / 287.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.01958, allocations: 4 kB / 287.9 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.02018, allocations: 206.9 kB / 288.1 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.0205, allocations: 111.9 kB / 288.2 MB, free: 1.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.02524, allocations: 6.11 MB / 294.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.02572, allocations: 59.7 kB / 294.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.02577, allocations: 15.94 kB / 294.4 MB, free: 10.92 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.0002707/0.02604, allocations: 200.4 kB / 294.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.02619, allocations: 83.62 kB / 294.6 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.02739, allocations: 0.5025 MB / 295.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.869e-06/0.0274, allocations: 8 kB / 295.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.0274, allocations: 0 / 295.1 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.02851, allocations: 0.7927 MB / 295.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.03041, allocations: 1.01 MB / 296.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.03041, allocations: 0 / 296.9 MB, free: 8.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.03089, allocations: 115.9 kB / 297.1 MB, free: 8.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.03162, allocations: 175.2 kB / 297.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.03166, allocations: 19.92 kB / 297.2 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/0.03539, allocations: 4.129 MB / 301.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0354, allocations: 8.062 kB / 301.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001352/0.03675, allocations: 0.7039 MB / 302.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.03704, allocations: 131.3 kB / 302.2 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.949e-05/0.03713, allocations: 12 kB / 302.2 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.0375, allocations: 31.97 kB / 302.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.0376, allocations: 44.41 kB / 302.3 MB, free: 2.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.03762, allocations: 12 kB / 302.3 MB, free: 2.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003/0.03792, allocations: 322.7 kB / 302.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.03792, allocations: 0 / 302.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008179/0.03874, allocations: 223.8 kB / 302.8 MB, free: 1.973 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.0001572/0.0389, allocations: 123.1 kB / 303 MB, free: 1.844 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.04027, allocations: 0.9819 MB / 303.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.04027, allocations: 0 / 303.9 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00055/0.04082, allocations: 0.5418 MB / 304.5 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.04144, allocations: 194.7 kB / 304.7 MB, free: 16 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1027/0.1441, allocations: 1.138 MB / 305.8 MB, free: 42.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.1442, allocations: 144.1 kB / 306 MB, free: 42.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002749/0.1445, allocations: 78.27 kB / 306 MB, free: 42.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.145, allocations: 337.8 kB / 306.4 MB, free: 42.04 MB / 282.7 MB Notification: Performance of SimCode: time 1.533e-06/0.145, allocations: 0 / 306.4 MB, free: 42.04 MB / 282.7 MB Notification: Performance of Templates: time 0.01909/0.1641, allocations: 15.63 MB / 322 MB, free: 35.72 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: 2.996192425955087]