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.001093/0.001093, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001624/0.002717, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001141/0.001141, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.002748, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.982/0.982, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07337/1.055, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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.152e-06/1.152e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.208e-05, allocations: 2.312 kB / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003856/0.003868, allocations: 4.942 MB / 250.1 MB, free: 8.625 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.005672, allocations: 1.366 MB / 251.5 MB, free: 7.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.005886, allocations: 11.94 kB / 251.5 MB, free: 7.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.006127, allocations: 170.5 kB / 251.7 MB, free: 7.07 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.006507, allocations: 349 kB / 252 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.006765, allocations: 227.6 kB / 252.2 MB, free: 6.504 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.007533, allocations: 1.207 MB / 253.5 MB, free: 5.293 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.007775, allocations: 236.5 kB / 253.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005671/0.008342, allocations: 0.7998 MB / 254.5 MB, free: 4.227 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.00867, allocations: 375 kB / 254.9 MB, free: 3.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.008764, allocations: 100 kB / 254.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.008873, allocations: 104 kB / 255.1 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-05/0.008965, allocations: 159.4 kB / 255.2 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004439/0.009409, allocations: 311.5 kB / 255.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.009918, allocations: 0.7045 MB / 256.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033e-05/0.009928, allocations: 0 / 256.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009929, allocations: 4 kB / 256.2 MB, free: 2.488 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.00994, allocations: 0 / 256.2 MB, free: 2.488 MB / 250.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.001256/0.0112, allocations: 1.415 MB / 257.6 MB, free: 1.027 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.01122, allocations: 8.031 kB / 257.6 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.01135, allocations: 128.8 kB / 257.8 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.01174, allocations: 373.3 kB / 258.1 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.01189, allocations: 297.2 kB / 258.4 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.01197, allocations: 76.33 kB / 258.5 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.0127, allocations: 1.41 MB / 259.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.01271, allocations: 4.172 kB / 259.9 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.01275, allocations: 32.12 kB / 259.9 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01276, allocations: 20 kB / 260 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002548/0.01302, allocations: 198.3 kB / 260.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.01442, allocations: 1.068 MB / 261.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.01492, allocations: 371.2 kB / 261.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.01509, allocations: 159.4 kB / 261.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.01513, allocations: 16.64 kB / 261.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.01516, allocations: 51.2 kB / 261.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.195e-06/0.01516, allocations: 0 / 261.8 MB, free: 12.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001684/0.01685, allocations: 0.8208 MB / 262.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.01687, allocations: 68.06 kB / 262.7 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002811/0.01715, allocations: 479.1 kB / 263.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.01719, allocations: 49.64 kB / 263.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.0173, allocations: 266.3 kB / 263.5 MB, free: 10.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.01742, allocations: 265.7 kB / 263.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.01755, allocations: 146.6 kB / 263.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.646e-05/0.01765, allocations: 386.6 kB / 264.3 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.01778, allocations: 163.1 kB / 264.4 MB, free: 9.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004417/0.01822, allocations: 1.176 MB / 265.6 MB, free: 8.266 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002949/0.01851, allocations: 366.1 kB / 265.9 MB, free: 7.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.01852, allocations: 4 kB / 265.9 MB, free: 7.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007462/0.01927, allocations: 0.6804 MB / 266.6 MB, free: 7.141 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.01932, allocations: 81.11 kB / 266.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01932, allocations: 0 / 266.7 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003473/0.01967, allocations: 171.2 kB / 266.9 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003763/0.02005, allocations: 163.8 kB / 267 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003216/0.02326, allocations: 5.309 MB / 272.3 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.02357, allocations: 75.78 kB / 272.4 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.02359, allocations: 20 kB / 272.4 MB, free: 0.957 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.0001504/0.02374, allocations: 161.8 kB / 272.6 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.02382, allocations: 79.86 kB / 272.7 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.414e-05/0.02391, allocations: 86.75 kB / 272.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.02391, allocations: 8 kB / 272.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.02391, allocations: 0 / 272.8 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006482/0.02456, allocations: 0.7801 MB / 273.5 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.02576, allocations: 0.9694 MB / 274.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.02577, allocations: 0 / 274.5 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.02614, allocations: 168.6 kB / 274.7 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.02629, allocations: 95.33 kB / 274.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.02655, allocations: 138.6 kB / 274.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.02658, allocations: 23.88 kB / 274.9 MB, free: 14.28 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.02891, allocations: 4.014 MB / 278.9 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.02891, allocations: 0 / 278.9 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.02969, allocations: 0.7079 MB / 279.7 MB, free: 9.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.02974, allocations: 20 kB / 279.7 MB, free: 9.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.02999, allocations: 39.91 kB / 279.7 MB, free: 9.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.274e-05/0.03008, allocations: 64.48 kB / 279.8 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.0301, allocations: 19.92 kB / 279.8 MB, free: 9.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001463/0.03025, allocations: 216.4 kB / 280 MB, free: 8.918 MB / 282.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03025, allocations: 0 / 280 MB, free: 8.918 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004972/0.03074, allocations: 287.7 kB / 280.3 MB, free: 8.637 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.0001262/0.03087, allocations: 108.4 kB / 280.4 MB, free: 8.52 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.03162, allocations: 1.078 MB / 281.5 MB, free: 7.336 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/0.03164, allocations: 11.98 kB / 281.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.03205, allocations: 0.593 MB / 282.1 MB, free: 6.691 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.03343, allocations: 2.141 MB / 284.2 MB, free: 4.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00869/0.04212, allocations: 1.337 MB / 285.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.04223, allocations: 161.2 kB / 285.7 MB, free: 2.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002723/0.0425, allocations: 102.3 kB / 285.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/0.04304, allocations: 381 kB / 286.2 MB, free: 2.098 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.04304, allocations: 3.938 kB / 286.2 MB, free: 2.094 MB / 282.7 MB Notification: Performance of Templates: time 0.1128/0.1558, allocations: 22.15 MB / 308.3 MB, free: 27.3 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0616554068401456]