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.001904/0.001904, allocations: 95.86 kB / 20.96 MB, free: 3.453 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.00195/0.00195, allocations: 149.1 kB / 24.26 MB, free: 160 kB / 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.521/1.521, allocations: 173.4 MB / 200.8 MB, free: 9.309 MB / 186.7 MB " [Timeout remaining time 178] 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.373e-06/1.373e-06, allocations: 0 / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.807e-05, allocations: 2.312 kB / 267.3 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006612/0.00664, allocations: 4.346 MB / 271.7 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002523/0.009163, allocations: 1.188 MB / 272.8 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.009422, allocations: 7.938 kB / 272.8 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.009809, allocations: 146.8 kB / 273 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000599/0.01041, allocations: 285.4 kB / 273.3 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.01085, allocations: 203.6 kB / 273.5 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001188/0.01204, allocations: 0.9605 MB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003119/0.01235, allocations: 164.9 kB / 274.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007751/0.01313, allocations: 0.534 MB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.01362, allocations: 299.1 kB / 275.4 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.01376, allocations: 84 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.01392, allocations: 76 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.01411, allocations: 175.4 kB / 275.7 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004109/0.01452, allocations: 303.3 kB / 276 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.01572, allocations: 0.9579 MB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.01573, allocations: 3.984 kB / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.01573, allocations: 0 / 277 MB, free: 13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.01574, allocations: 0 / 277 MB, free: 13 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.002266/0.01801, allocations: 1.176 MB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.01804, allocations: 8.922 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.01827, allocations: 132.4 kB / 278.3 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009803/0.01925, allocations: 449.2 kB / 278.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.01946, allocations: 148.4 kB / 278.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.01957, allocations: 56.38 kB / 279 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.02122, allocations: 1.207 MB / 280.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.02125, allocations: 3.938 kB / 280.2 MB, free: 9.516 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.02131, allocations: 24 kB / 280.2 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.02133, allocations: 12 kB / 280.2 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.02236, allocations: 407.8 kB / 280.6 MB, free: 9.082 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003447/0.02581, allocations: 1.709 MB / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.02779, allocations: 0.5736 MB / 282.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/0.02835, allocations: 229 kB / 283.1 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.261e-05/0.0284, allocations: 12.5 kB / 283.1 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.526e-05/0.02845, allocations: 45.89 kB / 283.2 MB, free: 6.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=54): time 1.964e-06/0.02845, allocations: 0 / 283.2 MB, free: 6.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=54): time 0.00492/0.03337, allocations: 1.186 MB / 284.3 MB, free: 5.219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003938/0.03376, allocations: 0.5722 MB / 284.9 MB, free: 4.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.03484, allocations: 0.6394 MB / 285.6 MB, free: 3.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.04e-05/0.0349, allocations: 37.7 kB / 285.6 MB, free: 3.812 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/0.03525, allocations: 372.4 kB / 286 MB, free: 3.438 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.03547, allocations: 206.2 kB / 286.2 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.03571, allocations: 124 kB / 286.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003784/0.03609, allocations: 0.5743 MB / 286.9 MB, free: 2.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.0366, allocations: 210.9 kB / 287.1 MB, free: 2.309 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.03781, allocations: 1.024 MB / 288.1 MB, free: 1.039 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.03889, allocations: 498 kB / 288.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.03889, allocations: 0 / 288.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002442/0.04133, allocations: 0.8234 MB / 289.4 MB, free: 15.67 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.463e-05/0.04138, allocations: 36.52 kB / 289.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.04138, allocations: 3.938 kB / 289.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/0.04289, allocations: 266.8 kB / 289.7 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007089/0.0436, allocations: 115.9 kB / 289.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009658/0.05325, allocations: 6.832 MB / 296.6 MB, free: 8.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.05391, allocations: 59.7 kB / 296.7 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.05396, allocations: 20.09 kB / 296.7 MB, free: 7.957 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.0003545/0.05431, allocations: 240.5 kB / 297 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.05447, allocations: 79.62 kB / 297 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002325/0.0568, allocations: 0.7407 MB / 297.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.926e-06/0.05681, allocations: 4 kB / 297.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.05681, allocations: 0 / 297.8 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002304/0.05911, allocations: 1.004 MB / 298.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.06268, allocations: 1.411 MB / 300.2 MB, free: 4.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.06269, allocations: 3.984 kB / 300.2 MB, free: 4.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000756/0.06344, allocations: 123.8 kB / 300.3 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.06475, allocations: 215.2 kB / 300.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.06479, allocations: 8 kB / 300.5 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09917/0.164, allocations: 4.631 MB / 305.2 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/0.164, allocations: 4.812 kB / 305.2 MB, free: 44.25 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/0.1666, allocations: 1.073 MB / 306.2 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002791/0.1669, allocations: 131.6 kB / 306.4 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.957e-05/0.167, allocations: 13.06 kB / 306.4 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.1674, allocations: 28.52 kB / 306.4 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.1676, allocations: 48.22 kB / 306.5 MB, free: 44.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.359e-05/0.1676, allocations: 14.17 kB / 306.5 MB, free: 44.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004411/0.168, allocations: 442.8 kB / 306.9 MB, free: 43.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.168, allocations: 0.8125 kB / 306.9 MB, free: 43.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007082/0.1688, allocations: 220.5 kB / 307.1 MB, free: 43.91 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.0001233/0.1689, allocations: 118.2 kB / 307.2 MB, free: 43.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.1709, allocations: 1.2 MB / 308.4 MB, free: 43.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.738e-06/0.1709, allocations: 1.094 kB / 308.4 MB, free: 43.19 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008641/0.1717, allocations: 0.6408 MB / 309.1 MB, free: 42.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008058/0.1725, allocations: 193.9 kB / 309.3 MB, free: 42.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.1744, allocations: 1.201 MB / 310.5 MB, free: 42.31 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1747, allocations: 290.4 kB / 310.8 MB, free: 42.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000307/0.175, allocations: 78.78 kB / 310.8 MB, free: 42.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.1751, allocations: 54.31 kB / 310.9 MB, free: 42.18 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1751, allocations: 0.6875 kB / 310.9 MB, free: 42.18 MB / 282.7 MB Notification: Performance of Templates: time 0.0206/0.1957, allocations: 14.68 MB / 325.6 MB, free: 33.67 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.001407898031175]