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.001091/0.001091, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.000967/0.000967, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.909/0.909, allocations: 177 MB / 204.8 MB, free: 5.246 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 2.615e-06/2.615e-06, allocations: 0 / 272.9 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.972e-05/4.233e-05, allocations: 6.25 kB / 272.9 MB, free: 1.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006864/0.006907, allocations: 4.963 MB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.01014, allocations: 1.304 MB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.01092, allocations: 11.94 kB / 279.2 MB, free: 11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.01146, allocations: 158.6 kB / 279.3 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007864/0.01224, allocations: 341 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004629/0.0127, allocations: 227.5 kB / 279.9 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.0139, allocations: 1.218 MB / 281.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.01427, allocations: 222.4 kB / 281.3 MB, free: 8.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.01514, allocations: 0.6705 MB / 282 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005075/0.01565, allocations: 379 kB / 282.4 MB, free: 7.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.01581, allocations: 100 kB / 282.5 MB, free: 7.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.01595, allocations: 104 kB / 282.6 MB, free: 7.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.01607, allocations: 211.2 kB / 282.8 MB, free: 7.391 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.01638, allocations: 387.2 kB / 283.2 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008039/0.01719, allocations: 0.7746 MB / 283.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01719, allocations: 0 / 283.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.01719, allocations: 0 / 283.9 MB, free: 6.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.397e-05/0.01722, allocations: 4 kB / 283.9 MB, free: 6.23 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.001706/0.01892, allocations: 1.361 MB / 285.3 MB, free: 4.812 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.01897, allocations: 15.92 kB / 285.3 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002204/0.01919, allocations: 160.3 kB / 285.5 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.0198, allocations: 488 kB / 285.9 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.01998, allocations: 293.2 kB / 286.2 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-05/0.02007, allocations: 76.36 kB / 286.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.02122, allocations: 1.523 MB / 287.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.02123, allocations: 192 / 287.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.725e-05/0.02128, allocations: 32.12 kB / 287.9 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.0213, allocations: 16 kB / 287.9 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004862/0.02178, allocations: 307.6 kB / 288.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1078/0.1296, allocations: 1.51 MB / 289.7 MB, free: 25.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.1308, allocations: 452.2 kB / 290.1 MB, free: 25.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.1311, allocations: 212.5 kB / 290.3 MB, free: 25.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.76e-05/0.1312, allocations: 16.98 kB / 290.4 MB, free: 25.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1312, allocations: 50.98 kB / 290.4 MB, free: 25.79 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 3.486e-06/0.1312, allocations: 0 / 290.4 MB, free: 25.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002342/0.1336, allocations: 1.043 MB / 291.4 MB, free: 25.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.802e-05/0.1337, allocations: 0.8252 MB / 292.3 MB, free: 24.69 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.1341, allocations: 0.5824 MB / 292.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.1342, allocations: 44.83 kB / 292.9 MB, free: 24.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1344, allocations: 404.3 kB / 293.3 MB, free: 24.35 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.1345, allocations: 258.9 kB / 293.5 MB, free: 24.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1346, allocations: 156.3 kB / 293.7 MB, free: 24.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1347, allocations: 0.561 MB / 294.3 MB, free: 23.7 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.135, allocations: 205.9 kB / 294.5 MB, free: 23.6 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.1354, allocations: 1.301 MB / 295.8 MB, free: 22.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.1359, allocations: 433.7 kB / 296.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.1359, allocations: 4.406 kB / 296.2 MB, free: 22.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001127/0.137, allocations: 0.873 MB / 297.1 MB, free: 21.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.1371, allocations: 88.39 kB / 297.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1371, allocations: 4.969 kB / 297.1 MB, free: 21.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.1376, allocations: 190.8 kB / 297.3 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1379, allocations: 131.1 kB / 297.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.1413, allocations: 7.798 MB / 305.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.1417, allocations: 85.36 kB / 305.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.1417, allocations: 22.11 kB / 305.4 MB, free: 14.19 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.0001989/0.1419, allocations: 214.6 kB / 305.6 MB, free: 14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.1421, allocations: 104.1 kB / 305.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.17e-05/0.1421, allocations: 87.75 kB / 305.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1421, allocations: 7.75 kB / 305.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.1421, allocations: 0 / 305.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009099/0.1431, allocations: 0.9299 MB / 306.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001823/0.1449, allocations: 1.385 MB / 308.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1449, allocations: 5.375 kB / 308.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.1452, allocations: 122.9 kB / 308.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003444/0.1456, allocations: 160.8 kB / 308.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.1456, allocations: 17.77 kB / 308.4 MB, free: 12.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.148, allocations: 5.926 MB / 314.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.148, allocations: 3.938 kB / 314.3 MB, free: 6.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.1492, allocations: 0.9509 MB / 315.3 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.1494, allocations: 165.2 kB / 315.4 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.299e-05/0.1495, allocations: 23.38 kB / 315.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.1497, allocations: 33.67 kB / 315.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.1499, allocations: 63.91 kB / 315.5 MB, free: 6.215 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.1499, allocations: 18.72 kB / 315.6 MB, free: 6.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000298/0.1502, allocations: 389.7 kB / 315.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1502, allocations: 1.406 kB / 315.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006604/0.1509, allocations: 287.5 kB / 316.2 MB, free: 5.988 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.0001188/0.151, allocations: 123 kB / 316.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009193/0.1519, allocations: 1.377 MB / 317.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.1519, allocations: 0 / 317.7 MB, free: 4.797 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.1523, allocations: 0.7516 MB / 318.5 MB, free: 4.195 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.1528, allocations: 239.7 kB / 318.7 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1546, allocations: 1.423 MB / 320.1 MB, free: 3.289 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.1547, allocations: 168.1 kB / 320.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002252/0.1549, allocations: 101.3 kB / 320.4 MB, free: 3.172 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.155, allocations: 67.08 kB / 320.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.155, allocations: 0 / 320.5 MB, free: 3.109 MB / 266.7 MB Notification: Performance of Templates: time 0.02008/0.1751, allocations: 19.43 MB / 339.9 MB, free: 96 kB / 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.220389359164983]