Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 112.5 kB / 19.05 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 210.6 kB / 20.03 MB, free: 2.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.199/1.199, allocations: 230.4 MB / 251.3 MB, free: 8.844 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.378e-06/9.378e-06, allocations: 2.281 kB / 368.8 MB, free: 6.586 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004071/0.004081, allocations: 3.784 MB / 372.6 MB, free: 2.781 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.005382, allocations: 1.04 MB / 373.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.005504, allocations: 4 kB / 373.6 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.005761, allocations: 119 kB / 373.8 MB, free: 1.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.006063, allocations: 202.3 kB / 374 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.006291, allocations: 143.7 kB / 374.1 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007397/0.007031, allocations: 0.8362 MB / 374.9 MB, free: 448 kB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001882/0.007219, allocations: 118.5 kB / 375 MB, free: 316 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.007484, allocations: 294.9 kB / 375.3 MB, free: 20 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1089/0.1164, allocations: 306.6 kB / 375.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001225/0.1165, allocations: 52.72 kB / 375.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1166, allocations: 67.41 kB / 375.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004791/0.1171, allocations: 1.007 MB / 376.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001964/0.1173, allocations: 0.6313 MB / 377.4 MB, free: 9.625 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.942e-05/0.1174, allocations: 101.2 kB / 377.5 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.124e-05/0.1175, allocations: 15.62 kB / 377.5 MB, free: 9.605 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 (85) * Number of variables: 85 (85) Notification: Performance of Bindings: time 0.0016/0.1191, allocations: 2.71 MB / 380.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001866/0.1193, allocations: 239.5 kB / 380.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0005937/0.1199, allocations: 0.7599 MB / 381.2 MB, free: 8.105 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0002117/0.1201, allocations: 229.5 kB / 381.4 MB, free: 8.035 MB / 302.1 MB Notification: Performance of Alias: time 0.001728/0.1218, allocations: 1.759 MB / 383.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0001513/0.122, allocations: 185.5 kB / 383.4 MB, free: 7.059 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.000114/0.1221, allocations: 164.1 kB / 383.5 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003533/0.1224, allocations: 281.4 kB / 383.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of Events: time 0.0002906/0.1227, allocations: 320.8 kB / 384.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003817/0.1231, allocations: 0.5473 MB / 384.7 MB, free: 6.121 MB / 302.1 MB Notification: Performance of Causalize: time 0.001329/0.1244, allocations: 1.491 MB / 386.2 MB, free: 5.461 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005114/0.1249, allocations: 0.7064 MB / 386.9 MB, free: 5.07 MB / 302.1 MB Notification: Performance of Simplify: time 0.0007076/0.1257, allocations: 0.6988 MB / 387.6 MB, free: 4.648 MB / 302.1 MB Notification: Performance of Inline: time 0.0007702/0.1264, allocations: 1.013 MB / 388.6 MB, free: 4.082 MB / 302.1 MB Notification: Performance of Partitioning: time 5.955e-05/0.1265, allocations: 44.34 kB / 388.6 MB, free: 4.055 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001621/0.1266, allocations: 276.3 kB / 388.9 MB, free: 3.906 MB / 302.1 MB Notification: Performance of Causalize: time 0.004677/0.1313, allocations: 4.456 MB / 393.3 MB, free: 2.438 MB / 302.1 MB Notification: Performance of Tearing: time 0.0003078/0.1316, allocations: 0.5564 MB / 393.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of Initialization: time 5.41e-07/0.1316, allocations: 1.344 kB / 393.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of Tearing: time 0.0002327/0.1319, allocations: 0.5365 MB / 394.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of Categorize: time 1.443e-05/0.1319, allocations: 8.797 kB / 394.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of Solve: time 0.0004818/0.1324, allocations: 491.3 kB / 394.9 MB, free: 1.203 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002637/0.1326, allocations: 470.3 kB / 395.4 MB, free: 0.8477 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 15 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {dTSource, pipe.T} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 25 (25) {$FUN_2, $FUN_5, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 57 (scalar:57, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 85 (scalar:85, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:10) * Number of for-loop strong components: ......... 0 (resizable: 0generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 3.698e-05/0.1327, allocations: 45.14 kB / 395.4 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of SimCode: time 0.00183/0.1345, allocations: 2.628 MB / 398.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of Templates: time 0.01008/0.1446, allocations: 6.778 MB / 404.8 MB, free: 10.89 MB / 318.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,heatCapacitor.T,pipe.T Variables in the result:TAmb,ambient1.T,ambient1.T0,ambient1.T0fixed,ambient1.TAmbient,ambient1.constantAmbientPressure,ambient1.constantAmbientTemperature,ambient1.flowPort.medium.cp,ambient1.flowPort.medium.cv,ambient1.flowPort.medium.lambda,ambient1.flowPort.medium.nu,ambient1.flowPort.medium.rho,ambient1.flowPort.p,ambient1.medium.cp,ambient1.medium.cv,ambient1.medium.lambda,ambient1.medium.nu,ambient1.medium.rho,ambient1.pAmbient,ambient1.usePressureInput,ambient1.useTemperatureInput,ambient2.T,ambient2.T0,ambient2.T0fixed,ambient2.TAmbient,ambient2.constantAmbientPressure,ambient2.constantAmbientTemperature,ambient2.flowPort.medium.cp,ambient2.flowPort.medium.cv,ambient2.flowPort.medium.lambda,ambient2.flowPort.medium.nu,ambient2.flowPort.medium.rho,ambient2.flowPort.p,ambient2.medium.cp,ambient2.medium.cv,ambient2.medium.lambda,ambient2.medium.nu,ambient2.medium.rho,ambient2.pAmbient,ambient2.usePressureInput,ambient2.useTemperatureInput,convection.Gc,heatCapacitor.C,heatCapacitor.T,heatFlow.k,heatFlow.y,medium.cp,medium.cv,medium.lambda,medium.nu,medium.rho,pipe.T,pipe.T0,pipe.T0fixed,pipe.V_flowLaminar,pipe.V_flowNominal,pipe.dpLaminar,pipe.dpNomMin,pipe.dpNominal,pipe.flowPort_a.medium.cp,pipe.flowPort_a.medium.cv,pipe.flowPort_a.medium.lambda,pipe.flowPort_a.medium.nu,pipe.flowPort_a.medium.rho,pipe.flowPort_b.medium.cp,pipe.flowPort_b.medium.cv,pipe.flowPort_b.medium.lambda,pipe.flowPort_b.medium.nu,pipe.flowPort_b.medium.rho,pipe.flowPort_b.p,pipe.frictionLoss,pipe.g,pipe.h_g,pipe.k,pipe.m,pipe.medium.cp,pipe.medium.cv,pipe.medium.lambda,pipe.medium.nu,pipe.medium.rho,pipe.tapT,prescribedHeatFlow.Q_flow,prescribedHeatFlow.T_ref,prescribedHeatFlow.alpha,pump.Q_flow,pump.T0,pump.T0fixed,pump.constantVolumeFlow,pump.flowPort_a.medium.cp,pump.flowPort_a.medium.cv,pump.flowPort_a.medium.lambda,pump.flowPort_a.medium.nu,pump.flowPort_a.medium.rho,pump.flowPort_a.p,pump.flowPort_b.medium.cp,pump.flowPort_b.medium.cv,pump.flowPort_b.medium.lambda,pump.flowPort_b.medium.nu,pump.flowPort_b.medium.rho,pump.m,pump.medium.cp,pump.medium.cv,pump.medium.lambda,pump.medium.nu,pump.medium.rho,pump.tapT,pump.useVolumeFlowInput,thermalConductance.k,thermalConductance.y,time,volumeFlow.add.k1,volumeFlow.add.k2,volumeFlow.duration_1,volumeFlow.duration_2,volumeFlow.height_1,volumeFlow.height_2,volumeFlow.interval,volumeFlow.offset,volumeFlow.ramp1.duration,volumeFlow.ramp1.height,volumeFlow.ramp1.offset,volumeFlow.ramp1.startTime,volumeFlow.ramp2.duration,volumeFlow.ramp2.height,volumeFlow.ramp2.offset,volumeFlow.ramp2.startTime,volumeFlow.startTime