Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009576/0.0009576, allocations: 165.6 kB / 24.99 MB, free: 8.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9635/0.9635, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 273 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.575e-05, allocations: 2.312 kB / 273 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.0042/0.004215, allocations: 4.943 MB / 278 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.006005, allocations: 1.297 MB / 279.3 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002426/0.006248, allocations: 11.94 kB / 279.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.006572, allocations: 162.6 kB / 279.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.006994, allocations: 345 kB / 279.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.007281, allocations: 227.6 kB / 280 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001004/0.008285, allocations: 1.203 MB / 281.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.008544, allocations: 226.4 kB / 281.4 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.008984, allocations: 0.6704 MB / 282.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.009316, allocations: 375 kB / 282.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.575e-05/0.009411, allocations: 100 kB / 282.6 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.281e-05/0.009504, allocations: 108 kB / 282.7 MB, free: 8.164 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.009617, allocations: 227.2 kB / 282.9 MB, free: 7.941 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002491/0.009867, allocations: 379.2 kB / 283.3 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.01043, allocations: 0.7785 MB / 284 MB, free: 6.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01043, allocations: 0 / 284 MB, free: 6.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.01043, allocations: 0 / 284 MB, free: 6.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.01044, allocations: 0 / 284 MB, free: 6.789 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.001324/0.01177, allocations: 1.365 MB / 285.4 MB, free: 5.367 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.0118, allocations: 12.03 kB / 285.4 MB, free: 5.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.01196, allocations: 156.3 kB / 285.6 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005286/0.01249, allocations: 0.4895 MB / 286.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001616/0.01265, allocations: 297.2 kB / 286.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.699e-05/0.01273, allocations: 72.38 kB / 286.4 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.01391, allocations: 1.519 MB / 287.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.01392, allocations: 192 / 287.9 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.01397, allocations: 32.12 kB / 288 MB, free: 2.391 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.01398, allocations: 12 kB / 288 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.01446, allocations: 311.6 kB / 288.3 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.01631, allocations: 1.518 MB / 289.8 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007385/0.01705, allocations: 459.1 kB / 290.3 MB, free: 64 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1062/0.1233, allocations: 213.2 kB / 290.5 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.537e-05/0.1233, allocations: 16.25 kB / 290.5 MB, free: 28.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.1234, allocations: 50.3 kB / 290.5 MB, free: 28.87 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.725e-06/0.1234, allocations: 0 / 290.5 MB, free: 28.87 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002245/0.1256, allocations: 1.041 MB / 291.6 MB, free: 28.78 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.1257, allocations: 0.8239 MB / 292.4 MB, free: 27.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004796/0.1262, allocations: 0.5822 MB / 293 MB, free: 27.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.1262, allocations: 46.8 kB / 293 MB, free: 27.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1264, allocations: 395.9 kB / 293.4 MB, free: 27.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1265, allocations: 265.4 kB / 293.7 MB, free: 27.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1266, allocations: 150.8 kB / 293.8 MB, free: 27.2 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.27e-05/0.1267, allocations: 0.5593 MB / 294.4 MB, free: 26.67 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.127, allocations: 212.8 kB / 294.6 MB, free: 26.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004163/0.1274, allocations: 1.302 MB / 295.9 MB, free: 25.09 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004699/0.1279, allocations: 437.1 kB / 296.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1279, allocations: 0.9688 kB / 296.3 MB, free: 24.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001074/0.1289, allocations: 0.8719 MB / 297.2 MB, free: 24.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.129, allocations: 89.73 kB / 297.3 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.129, allocations: 1.719 kB / 297.3 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.1296, allocations: 202.8 kB / 297.5 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.13, allocations: 125.8 kB / 297.6 MB, free: 24.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.1331, allocations: 7.798 MB / 305.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.1334, allocations: 85.23 kB / 305.5 MB, free: 16.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/0.1334, allocations: 23.16 kB / 305.5 MB, free: 16.7 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.000153/0.1336, allocations: 207.7 kB / 305.7 MB, free: 16.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1337, allocations: 112.7 kB / 305.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.1338, allocations: 88.08 kB / 305.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1338, allocations: 10.19 kB / 305.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1338, allocations: 1.156 kB / 305.9 MB, free: 16.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008888/0.1347, allocations: 0.9272 MB / 306.8 MB, free: 15.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.1364, allocations: 1.39 MB / 308.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1364, allocations: 0 / 308.2 MB, free: 15.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.1367, allocations: 124.6 kB / 308.4 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003241/0.137, allocations: 161.7 kB / 308.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.137, allocations: 18.83 kB / 308.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.1392, allocations: 5.925 MB / 314.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1392, allocations: 2.406 kB / 314.5 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.1404, allocations: 0.9554 MB / 315.4 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.1406, allocations: 153.7 kB / 315.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.1407, allocations: 23.55 kB / 315.6 MB, free: 8.68 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.1409, allocations: 33.75 kB / 315.6 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.1411, allocations: 64.44 kB / 315.7 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1411, allocations: 21.59 kB / 315.7 MB, free: 8.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.1413, allocations: 385.2 kB / 316.1 MB, free: 8.465 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1413, allocations: 4 kB / 316.1 MB, free: 8.461 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006026/0.1419, allocations: 287.7 kB / 316.4 MB, free: 8.414 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.0001163/0.1421, allocations: 119 kB / 316.5 MB, free: 8.312 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009044/0.143, allocations: 1.37 MB / 317.8 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.143, allocations: 4.188 kB / 317.9 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00037/0.1433, allocations: 0.7497 MB / 318.6 MB, free: 6.629 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.1439, allocations: 247.6 kB / 318.8 MB, free: 6.535 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.1456, allocations: 1.44 MB / 320.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.788e-05/0.1457, allocations: 157 kB / 320.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.1459, allocations: 94.02 kB / 320.5 MB, free: 5.258 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.97e-05/0.146, allocations: 60.48 kB / 320.6 MB, free: 5.199 MB / 266.7 MB Notification: Performance of SimCode: time 6.92e-07/0.146, allocations: 4 kB / 320.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of Templates: time 0.01844/0.1645, allocations: 18.53 MB / 339.1 MB, free: 3.062 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.2354338001459837]