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.0009688/0.0009688, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009806/0.0009806, allocations: 157.9 kB / 24.99 MB, free: 8.25 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.921/0.921, allocations: 177 MB / 205.2 MB, free: 5.57 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.232e-06/1.232e-06, allocations: 0 / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.83e-05, allocations: 2.312 kB / 273 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003899/0.003917, allocations: 4.935 MB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.005737, allocations: 1.3 MB / 279.2 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.005967, allocations: 15.94 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.006297, allocations: 158.6 kB / 279.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004566/0.006753, allocations: 345 kB / 279.7 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.007101, allocations: 231.5 kB / 280 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008564/0.007958, allocations: 1.199 MB / 281.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002748/0.008233, allocations: 226.4 kB / 281.4 MB, free: 9.289 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.008764, allocations: 0.6705 MB / 282 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.009125, allocations: 375 kB / 282.4 MB, free: 8.25 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.009228, allocations: 104 kB / 282.5 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.009328, allocations: 104 kB / 282.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.009444, allocations: 223.2 kB / 282.8 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002583/0.009703, allocations: 391.2 kB / 283.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.01029, allocations: 0.7746 MB / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.01029, allocations: 0 / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01029, allocations: 0 / 284 MB, free: 6.668 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.0103, allocations: 0 / 284 MB, free: 6.668 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.001364/0.01166, allocations: 1.365 MB / 285.4 MB, free: 5.246 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.0117, allocations: 19.92 kB / 285.4 MB, free: 5.227 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.01187, allocations: 156.3 kB / 285.5 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.0124, allocations: 489.3 kB / 286 MB, free: 4.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001596/0.01256, allocations: 297.2 kB / 286.3 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.01264, allocations: 76.31 kB / 286.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009697/0.01361, allocations: 1.527 MB / 287.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.01363, allocations: 192 / 287.9 MB, free: 2.297 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.01367, allocations: 32.12 kB / 287.9 MB, free: 2.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01368, allocations: 16 kB / 287.9 MB, free: 2.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004908/0.01418, allocations: 307.5 kB / 288.2 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.01604, allocations: 1.514 MB / 289.8 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007681/0.01681, allocations: 462.9 kB / 290.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.01713, allocations: 209.5 kB / 290.4 MB, free: 15.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.01717, allocations: 24.64 kB / 290.4 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.0172, allocations: 46.05 kB / 290.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.773e-06/0.0172, allocations: 4 kB / 290.5 MB, free: 15.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002049/0.01925, allocations: 1.042 MB / 291.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.01948, allocations: 0.8234 MB / 292.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.01995, allocations: 0.5845 MB / 292.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/0.01999, allocations: 45.7 kB / 293 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002035/0.02019, allocations: 399.9 kB / 293.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.02033, allocations: 261.7 kB / 293.6 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.02048, allocations: 152.3 kB / 293.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.02063, allocations: 0.5586 MB / 294.3 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.02088, allocations: 207 kB / 294.5 MB, free: 11.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.02151, allocations: 1.299 MB / 295.8 MB, free: 9.652 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005082/0.02202, allocations: 446.6 kB / 296.3 MB, free: 9.188 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02202, allocations: 0 / 296.3 MB, free: 9.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00109/0.02311, allocations: 0.8728 MB / 297.1 MB, free: 8.258 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.02316, allocations: 96.16 kB / 297.2 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02316, allocations: 0 / 297.2 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.0236, allocations: 190.5 kB / 297.4 MB, free: 7.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000291/0.02389, allocations: 123.9 kB / 297.5 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1028/0.1267, allocations: 7.797 MB / 305.3 MB, free: 40.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006322/0.1273, allocations: 81.03 kB / 305.4 MB, free: 40.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.1274, allocations: 23.19 kB / 305.4 MB, free: 40.09 MB / 282.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.0002308/0.1276, allocations: 209.3 kB / 305.6 MB, free: 39.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1277, allocations: 107.7 kB / 305.8 MB, free: 39.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1279, allocations: 87.19 kB / 305.8 MB, free: 39.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.1279, allocations: 10.06 kB / 305.8 MB, free: 39.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1279, allocations: 3.75 kB / 305.9 MB, free: 39.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.129, allocations: 0.9246 MB / 306.8 MB, free: 39.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.1312, allocations: 1.398 MB / 308.2 MB, free: 38.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1312, allocations: 1.156 kB / 308.2 MB, free: 38.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004326/0.1316, allocations: 122.7 kB / 308.3 MB, free: 38.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000409/0.132, allocations: 158.4 kB / 308.5 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.1321, allocations: 20.81 kB / 308.5 MB, free: 38.95 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.1348, allocations: 5.93 MB / 314.4 MB, free: 33.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1348, allocations: 0 / 314.4 MB, free: 33.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.1363, allocations: 0.9491 MB / 315.3 MB, free: 33.18 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.1366, allocations: 158.9 kB / 315.5 MB, free: 33.1 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.1367, allocations: 20.92 kB / 315.5 MB, free: 33.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.1371, allocations: 30.67 kB / 315.6 MB, free: 33.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.1372, allocations: 66.55 kB / 315.6 MB, free: 33.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.1372, allocations: 23.44 kB / 315.6 MB, free: 33.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003613/0.1376, allocations: 385.3 kB / 316 MB, free: 32.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1376, allocations: 1.25 kB / 316 MB, free: 32.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007381/0.1383, allocations: 288.6 kB / 316.3 MB, free: 32.84 MB / 282.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.0001196/0.1385, allocations: 123.7 kB / 316.4 MB, free: 32.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1396, allocations: 1.381 MB / 317.8 MB, free: 31.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1396, allocations: 2.594 kB / 317.8 MB, free: 31.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005202/0.1401, allocations: 0.7485 MB / 318.6 MB, free: 31.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.1409, allocations: 228.1 kB / 318.8 MB, free: 30.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.1431, allocations: 1.437 MB / 320.2 MB, free: 30.19 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.1433, allocations: 161 kB / 320.4 MB, free: 30.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.1436, allocations: 100.4 kB / 320.5 MB, free: 30.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001432/0.1437, allocations: 65.12 kB / 320.5 MB, free: 30.08 MB / 282.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1437, allocations: 0 / 320.5 MB, free: 30.08 MB / 282.7 MB Notification: Performance of Templates: time 0.01781/0.1615, allocations: 18.51 MB / 339 MB, free: 15.84 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 -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.2331215511076152]