Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001109/0.001109, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.002071/0.002071, allocations: 141.2 kB / 24.89 MB, free: 9.207 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 0.9628/0.9628, allocations: 173.4 MB / 201.5 MB, free: 9.195 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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 268.5 MB, free: 6.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.642e-05, allocations: 6.25 kB / 268.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.00497/0.004996, allocations: 3.715 MB / 272.2 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.00721, allocations: 1.012 MB / 273.2 MB, free: 1.449 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002895/0.007499, allocations: 15.88 kB / 273.2 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.007843, allocations: 115 kB / 273.3 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005005/0.008343, allocations: 214.1 kB / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003412/0.008684, allocations: 143.7 kB / 273.7 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000918/0.009602, allocations: 0.7389 MB / 274.4 MB, free: 232 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002745/0.009877, allocations: 145.1 kB / 274.5 MB, free: 76 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005932/0.01047, allocations: 403.1 kB / 274.9 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.01082, allocations: 227.4 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.01092, allocations: 56 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.01101, allocations: 60 kB / 275.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-05/0.0111, allocations: 135.5 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.01134, allocations: 227.4 kB / 275.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006413/0.01198, allocations: 470.3 kB / 276.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.01199, allocations: 4 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.01199, allocations: 0 / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.012, allocations: 0 / 276.1 MB, free: 14.52 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001224/0.01323, allocations: 0.8164 MB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01327, allocations: 12.92 kB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.0134, allocations: 68.88 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.01385, allocations: 287.7 kB / 277.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.01397, allocations: 110.7 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-05/0.01404, allocations: 40.38 kB / 277.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006592/0.01469, allocations: 0.7664 MB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.01471, allocations: 4.188 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.57e-05/0.01475, allocations: 20.12 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.01476, allocations: 8 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.01501, allocations: 114.9 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.01643, allocations: 0.6927 MB / 279 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.01679, allocations: 185.4 kB / 279.2 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.0169, allocations: 72.66 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.01694, allocations: 8 kB / 279.3 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.01697, allocations: 42.55 kB / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.535e-06/0.01697, allocations: 0 / 279.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006174/0.01759, allocations: 270.9 kB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.01774, allocations: 445 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.01805, allocations: 367.3 kB / 280.4 MB, free: 9.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.01808, allocations: 37.64 kB / 280.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.0182, allocations: 193.5 kB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.034e-05/0.01829, allocations: 142.8 kB / 280.7 MB, free: 9.465 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.01841, allocations: 77.62 kB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.01852, allocations: 354.7 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.01863, allocations: 69.67 kB / 281.2 MB, free: 8.953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.01896, allocations: 0.5719 MB / 281.8 MB, free: 8.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.01919, allocations: 170.6 kB / 282 MB, free: 8.051 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.0192, allocations: 8 kB / 282 MB, free: 8.043 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003757/0.01957, allocations: 278.1 kB / 282.2 MB, free: 7.746 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.01961, allocations: 29.7 kB / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01962, allocations: 0 / 282.3 MB, free: 7.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001243/0.01974, allocations: 45.62 kB / 282.3 MB, free: 7.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.02001, allocations: 79.88 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.02164, allocations: 2.399 MB / 284.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.02188, allocations: 43.77 kB / 284.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.0219, allocations: 20.05 kB / 284.9 MB, free: 4.945 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.02201, allocations: 133.8 kB / 285 MB, free: 4.805 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.02207, allocations: 47.89 kB / 285 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.02212, allocations: 48.62 kB / 285.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.02213, allocations: 11.92 kB / 285.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.02213, allocations: 0 / 285.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000293/0.02243, allocations: 0.5367 MB / 285.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006018/0.02303, allocations: 0.5413 MB / 286.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.02303, allocations: 0 / 286.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.02324, allocations: 83.89 kB / 286.3 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.02324, allocations: 7.938 kB / 286.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.02326, allocations: 7.984 kB / 286.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.02326, allocations: 4 kB / 286.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02326, allocations: 0 / 286.3 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.02356, allocations: 341.5 kB / 286.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.854e-05/0.02365, allocations: 55.67 kB / 286.7 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.672e-05/0.02369, allocations: 19.88 kB / 286.7 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.02383, allocations: 15.98 kB / 286.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/0.02388, allocations: 27.94 kB / 286.7 MB, free: 2.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.02389, allocations: 8 kB / 286.7 MB, free: 2.898 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001188/0.02401, allocations: 164.6 kB / 286.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02401, allocations: 0 / 286.9 MB, free: 2.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002716/0.02428, allocations: 147.8 kB / 287 MB, free: 2.59 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001055/0.02439, allocations: 92.34 kB / 287.1 MB, free: 2.488 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00043/0.02482, allocations: 498.1 kB / 287.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.02483, allocations: 8 kB / 287.6 MB, free: 1.949 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.545e-05/0.02492, allocations: 84.69 kB / 287.7 MB, free: 1.863 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.02527, allocations: 146 kB / 287.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.02653, allocations: 0.8669 MB / 288.7 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.056e-05/0.0266, allocations: 117.8 kB / 288.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.02676, allocations: 60.25 kB / 288.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.02707, allocations: 229.2 kB / 289.1 MB, free: 412 kB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02708, allocations: 0 / 289.1 MB, free: 412 kB / 266.7 MB Notification: Performance of Templates: time 0.01207/0.03915, allocations: 9.96 MB / 299.1 MB, free: 6.707 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.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.7973564290441573]