Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009725/0.0009725, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009978/0.0009978, allocations: 163.3 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9365/0.9365, allocations: 177 MB / 205.2 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.223e-05, allocations: 2.312 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005334/0.005346, allocations: 4.915 MB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.007741, allocations: 1.355 MB / 279.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.007997, allocations: 15.88 kB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.008344, allocations: 174.5 kB / 279.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005444/0.008889, allocations: 345 kB / 280.2 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003605/0.009249, allocations: 231.5 kB / 280.4 MB, free: 10.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01029, allocations: 1.203 MB / 281.6 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003512/0.01064, allocations: 236.4 kB / 281.9 MB, free: 8.68 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007567/0.0114, allocations: 0.6705 MB / 282.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.01192, allocations: 367 kB / 282.9 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001508/0.01207, allocations: 104 kB / 283 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.01221, allocations: 104 kB / 283.1 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.01236, allocations: 223.2 kB / 283.3 MB, free: 7.227 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.01269, allocations: 387.2 kB / 283.7 MB, free: 6.848 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006947/0.01338, allocations: 0.7785 MB / 284.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01339, allocations: 0 / 284.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01339, allocations: 0 / 284.5 MB, free: 6.066 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.0134, allocations: 0 / 284.5 MB, free: 6.066 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001367/0.01476, allocations: 1.209 MB / 285.7 MB, free: 4.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.0148, allocations: 19.98 kB / 285.7 MB, free: 4.789 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.01495, allocations: 128.8 kB / 285.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/0.01544, allocations: 373.3 kB / 286.2 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.01561, allocations: 293.2 kB / 286.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.978e-05/0.0157, allocations: 72.38 kB / 286.6 MB, free: 3.863 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.01674, allocations: 1.418 MB / 288 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.01676, allocations: 192 / 288 MB, free: 2.156 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.01681, allocations: 32.12 kB / 288 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/0.01682, allocations: 12 kB / 288 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.01721, allocations: 214.2 kB / 288.2 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.01917, allocations: 1.06 MB / 289.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.0198, allocations: 366.7 kB / 289.6 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.02002, allocations: 155.4 kB / 289.8 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.02006, allocations: 24.64 kB / 289.8 MB, free: 296 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.02008, allocations: 43.22 kB / 289.9 MB, free: 244 kB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.02009, allocations: 0 / 289.9 MB, free: 244 kB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.1055/0.1256, allocations: 0.8304 MB / 290.7 MB, free: 26.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.1257, allocations: 0.8276 MB / 291.5 MB, free: 25.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.126, allocations: 477.3 kB / 292 MB, free: 25.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.1261, allocations: 45.2 kB / 292 MB, free: 25.17 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.1262, allocations: 257.6 kB / 292.3 MB, free: 25.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.1263, allocations: 270.7 kB / 292.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1264, allocations: 144.5 kB / 292.7 MB, free: 24.97 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.945e-05/0.1265, allocations: 384.6 kB / 293.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1266, allocations: 159.6 kB / 293.2 MB, free: 24.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.1269, allocations: 1.174 MB / 294.4 MB, free: 23.26 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.1273, allocations: 374 kB / 294.8 MB, free: 23.13 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1273, allocations: 1.281 kB / 294.8 MB, free: 23.13 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007639/0.128, allocations: 0.6693 MB / 295.4 MB, free: 22.86 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1281, allocations: 85.62 kB / 295.5 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1281, allocations: 3.438 kB / 295.5 MB, free: 22.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003641/0.1284, allocations: 161 kB / 295.7 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/0.1288, allocations: 171.9 kB / 295.8 MB, free: 22.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.1313, allocations: 5.293 MB / 301.1 MB, free: 18.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.1316, allocations: 80.41 kB / 301.2 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.1317, allocations: 22.06 kB / 301.2 MB, free: 18.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.1318, allocations: 158.3 kB / 301.4 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.1319, allocations: 80.78 kB / 301.5 MB, free: 17.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.132, allocations: 88.3 kB / 301.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.132, allocations: 10.73 kB / 301.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.132, allocations: 0.5625 kB / 301.6 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009109/0.1329, allocations: 0.7879 MB / 302.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1348, allocations: 0.966 MB / 303.3 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1348, allocations: 0 / 303.3 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.1353, allocations: 159 kB / 303.5 MB, free: 17.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003577/0.1356, allocations: 142.1 kB / 303.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.1357, allocations: 17.81 kB / 303.6 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.1379, allocations: 4.028 MB / 307.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.1379, allocations: 2.078 kB / 307.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.139, allocations: 0.705 MB / 308.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.1393, allocations: 85.06 kB / 308.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/0.1393, allocations: 21.03 kB / 308.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.1397, allocations: 32.86 kB / 308.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.1398, allocations: 60.8 kB / 308.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.1399, allocations: 24.2 kB / 308.6 MB, free: 13.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002298/0.1401, allocations: 226.8 kB / 308.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1401, allocations: 1.375 kB / 308.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007203/0.1408, allocations: 287.5 kB / 309.1 MB, free: 13.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.1409, allocations: 105.8 kB / 309.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008739/0.1418, allocations: 1.066 MB / 310.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.1418, allocations: 8.875 kB / 310.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.1423, allocations: 0.5534 MB / 310.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/0.1429, allocations: 236.8 kB / 311 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.145, allocations: 1.335 MB / 312.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/0.1451, allocations: 162.7 kB / 312.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003383/0.1454, allocations: 94.7 kB / 312.6 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000671/0.1461, allocations: 372 kB / 313 MB, free: 10.91 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1461, allocations: 2.188 kB / 313 MB, free: 10.91 MB / 266.7 MB Notification: Performance of Templates: time 0.02432/0.1704, allocations: 19.94 MB / 332.9 MB, free: 8.625 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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: 3.047341498080641]