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.002333/0.002333, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002605/0.002605, allocations: 153.1 kB / 24.27 MB, free: 168 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.564/1.564, allocations: 173.3 MB / 200.8 MB, free: 9.328 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.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.252e-06/1.252e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.688e-05, allocations: 6.25 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005726/0.005753, allocations: 3.72 MB / 271 MB, free: 3.023 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.007737, allocations: 0.9888 MB / 272 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.007967, allocations: 11.94 kB / 272 MB, free: 2.016 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.00832, allocations: 111 kB / 272.1 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.008793, allocations: 214.1 kB / 272.3 MB, free: 1.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.009121, allocations: 147.7 kB / 272.5 MB, free: 1.551 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009556/0.01008, allocations: 0.7379 MB / 273.2 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002717/0.01035, allocations: 131.2 kB / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005288/0.01088, allocations: 411.1 kB / 273.8 MB, free: 284 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.01124, allocations: 219.3 kB / 274 MB, free: 64 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.01134, allocations: 60 kB / 274 MB, free: 4 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.01148, allocations: 60.05 kB / 274.1 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.01163, allocations: 135.5 kB / 274.2 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003069/0.01194, allocations: 231.5 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009507/0.01289, allocations: 0.7438 MB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/0.01289, allocations: 3.984 kB / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.0129, allocations: 0 / 275.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.01291, allocations: 0 / 275.2 MB, free: 14.84 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.001822/0.01473, allocations: 0.9761 MB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.01478, allocations: 12.92 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.01497, allocations: 92.56 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.01569, allocations: 391.3 kB / 276.7 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.01585, allocations: 110.7 kB / 276.8 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.01593, allocations: 44.38 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.01718, allocations: 0.9116 MB / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.0172, allocations: 192 / 277.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.01725, allocations: 24.06 kB / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.01726, allocations: 8 kB / 277.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/0.01805, allocations: 315.8 kB / 278.1 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.02037, allocations: 1.172 MB / 279.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.02124, allocations: 347.9 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003825/0.02162, allocations: 171.4 kB / 279.7 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.17e-05/0.02168, allocations: 8 kB / 279.7 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.02172, allocations: 49.33 kB / 279.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.423e-06/0.02172, allocations: 0 / 279.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=37): time 0.001533/0.02326, allocations: 0.5586 MB / 280.3 MB, free: 9.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002983/0.02355, allocations: 444.9 kB / 280.8 MB, free: 8.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.02425, allocations: 0.5534 MB / 281.3 MB, free: 8.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.791e-05/0.0243, allocations: 37.7 kB / 281.4 MB, free: 8.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.0246, allocations: 335.1 kB / 281.7 MB, free: 7.844 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.02475, allocations: 142.8 kB / 281.8 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.02492, allocations: 95.3 kB / 281.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003429/0.02527, allocations: 0.5586 MB / 282.5 MB, free: 7.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.02563, allocations: 153.6 kB / 282.6 MB, free: 6.875 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008318/0.02646, allocations: 0.7242 MB / 283.4 MB, free: 5.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007154/0.02717, allocations: 340.7 kB / 283.7 MB, free: 5.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.02718, allocations: 4 kB / 283.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001034/0.02821, allocations: 0.5033 MB / 284.2 MB, free: 5.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.023e-05/0.02825, allocations: 29.7 kB / 284.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.02826, allocations: 0 / 284.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.02844, allocations: 59.34 kB / 284.3 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.02885, allocations: 87.92 kB / 284.4 MB, free: 4.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.03241, allocations: 3.745 MB / 288.1 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.03281, allocations: 51.89 kB / 288.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.03284, allocations: 16 kB / 288.2 MB, free: 0.8555 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.0002746/0.03312, allocations: 220.5 kB / 288.4 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.03324, allocations: 63.67 kB / 288.5 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.03336, allocations: 56.61 kB / 288.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.03337, allocations: 4 kB / 288.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.03337, allocations: 0 / 288.5 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/0.03441, allocations: 0.7163 MB / 289.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.03618, allocations: 0.9931 MB / 290.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.03619, allocations: 0 / 290.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.03663, allocations: 80.08 kB / 290.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.03663, allocations: 0 / 290.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.03665, allocations: 12 kB / 290.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.03666, allocations: 0 / 290.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.03666, allocations: 3.984 kB / 290.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.03796, allocations: 0.7003 MB / 291 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.03816, allocations: 87.55 kB / 291.1 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.454e-05/0.03822, allocations: 12 kB / 291.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00035/0.03857, allocations: 24.02 kB / 291.2 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.03866, allocations: 23.95 kB / 291.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.03868, allocations: 15.98 kB / 291.2 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004494/0.03913, allocations: 375 kB / 291.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03913, allocations: 0 / 291.6 MB, free: 13.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004804/0.03961, allocations: 147.8 kB / 291.7 MB, free: 13.15 MB / 282.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.0001608/0.03977, allocations: 111.1 kB / 291.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.04108, allocations: 0.7728 MB / 292.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.04108, allocations: 4 kB / 292.6 MB, free: 12.2 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.04148, allocations: 175.5 kB / 292.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006535/0.04214, allocations: 142 kB / 292.9 MB, free: 11.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001709/0.04385, allocations: 0.9039 MB / 293.8 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.04411, allocations: 238.1 kB / 294 MB, free: 10.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.04435, allocations: 60.25 kB / 294.1 MB, free: 10.63 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.04448, allocations: 48.42 kB / 294.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04448, allocations: 0 / 294.1 MB, free: 10.58 MB / 282.7 MB Notification: Performance of Templates: time 0.01809/0.06257, allocations: 9.408 MB / 303.5 MB, free: 1.402 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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: 4.825153155950829]