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.001352/0.001352, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001448/0.001448, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.96/0.96, allocations: 177.2 MB / 205 MB, free: 5.301 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.272e-06/1.272e-06, allocations: 0 / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.311e-05, allocations: 6.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005304/0.005327, allocations: 4.967 MB / 277.9 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.00784, allocations: 1.297 MB / 279.2 MB, free: 11.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.008224, allocations: 15.88 kB / 279.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.008614, allocations: 158.6 kB / 279.4 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005994/0.009213, allocations: 349 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.009624, allocations: 231.5 kB / 280 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001034/0.01066, allocations: 1.207 MB / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003216/0.01098, allocations: 218.5 kB / 281.4 MB, free: 8.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006776/0.01166, allocations: 0.6705 MB / 282.1 MB, free: 8.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004628/0.01212, allocations: 371 kB / 282.4 MB, free: 7.895 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.01225, allocations: 104 kB / 282.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.01239, allocations: 100 kB / 282.6 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.01254, allocations: 227.2 kB / 282.8 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003435/0.01288, allocations: 383.2 kB / 283.2 MB, free: 7.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007891/0.01367, allocations: 0.7746 MB / 284 MB, free: 6.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.01368, allocations: 0 / 284 MB, free: 6.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01368, allocations: 4 kB / 284 MB, free: 6.316 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.01369, allocations: 0 / 284 MB, free: 6.316 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.001646/0.01533, allocations: 1.357 MB / 285.4 MB, free: 4.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.01537, allocations: 8.031 kB / 285.4 MB, free: 4.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.0158, allocations: 160.3 kB / 285.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.0164, allocations: 495.9 kB / 286 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.01659, allocations: 293.2 kB / 286.3 MB, free: 3.883 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01669, allocations: 76.38 kB / 286.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.01785, allocations: 1.511 MB / 287.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.01787, allocations: 4.172 kB / 287.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.627e-05/0.01792, allocations: 32.12 kB / 287.9 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.01794, allocations: 16 kB / 287.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005779/0.01852, allocations: 307.6 kB / 288.2 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.02058, allocations: 1.514 MB / 289.7 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1109/0.1314, allocations: 452.7 kB / 290.2 MB, free: 25.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.1318, allocations: 212 kB / 290.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.957e-05/0.1319, allocations: 20.12 kB / 290.4 MB, free: 25.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1319, allocations: 52.02 kB / 290.5 MB, free: 25.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 3.386e-06/0.1319, allocations: 0 / 290.5 MB, free: 25.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.002291/0.1342, allocations: 1.039 MB / 291.5 MB, free: 25.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001125/0.1343, allocations: 0.8249 MB / 292.3 MB, free: 24.68 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.1349, allocations: 0.5793 MB / 292.9 MB, free: 24.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.913e-05/0.1349, allocations: 48.02 kB / 293 MB, free: 24.47 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1351, allocations: 402.8 kB / 293.3 MB, free: 24.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1352, allocations: 261.8 kB / 293.6 MB, free: 24.21 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.1354, allocations: 154.3 kB / 293.8 MB, free: 24.18 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1355, allocations: 0.5562 MB / 294.3 MB, free: 23.69 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.1357, allocations: 206.5 kB / 294.5 MB, free: 23.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/0.1362, allocations: 1.304 MB / 295.8 MB, free: 22.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004887/0.1367, allocations: 438.9 kB / 296.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.1367, allocations: 1.156 kB / 296.2 MB, free: 22.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001146/0.1378, allocations: 0.8704 MB / 297.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.1379, allocations: 91.81 kB / 297.2 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1379, allocations: 1.594 kB / 297.2 MB, free: 21.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.1383, allocations: 190.2 kB / 297.4 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/0.1387, allocations: 129.9 kB / 297.5 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.142, allocations: 7.8 MB / 305.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.1424, allocations: 83.73 kB / 305.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.1425, allocations: 24.44 kB / 305.4 MB, free: 14.36 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.0001941/0.1427, allocations: 211.2 kB / 305.6 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.1428, allocations: 107.6 kB / 305.7 MB, free: 14.15 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.1429, allocations: 90.12 kB / 305.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.1429, allocations: 10.72 kB / 305.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.1429, allocations: 1.219 kB / 305.8 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008892/0.1438, allocations: 0.927 MB / 306.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.1455, allocations: 1.391 MB / 308.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.1455, allocations: 0.9375 kB / 308.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000329/0.1459, allocations: 126.5 kB / 308.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003382/0.1462, allocations: 165.8 kB / 308.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.1462, allocations: 13.45 kB / 308.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/0.1485, allocations: 5.923 MB / 314.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1485, allocations: 3.938 kB / 314.4 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1497, allocations: 0.951 MB / 315.3 MB, free: 6.605 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.1499, allocations: 151.6 kB / 315.5 MB, free: 6.516 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.15, allocations: 22.88 kB / 315.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.1502, allocations: 33.84 kB / 315.5 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.1504, allocations: 67.61 kB / 315.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.1504, allocations: 18.5 kB / 315.6 MB, free: 6.473 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002835/0.1507, allocations: 388.6 kB / 316 MB, free: 6.289 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1507, allocations: 0 / 316 MB, free: 6.289 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006921/0.1514, allocations: 295.3 kB / 316.3 MB, free: 6.234 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.0001218/0.1515, allocations: 123.4 kB / 316.4 MB, free: 6.133 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000932/0.1524, allocations: 1.379 MB / 317.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1524, allocations: 0.75 kB / 317.8 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.1528, allocations: 0.7517 MB / 318.5 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005545/0.1534, allocations: 233 kB / 318.8 MB, free: 4.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.1551, allocations: 1.436 MB / 320.2 MB, free: 3.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.629e-05/0.1552, allocations: 165 kB / 320.4 MB, free: 3.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.1554, allocations: 94.23 kB / 320.5 MB, free: 3.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.1555, allocations: 64.25 kB / 320.5 MB, free: 3.355 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.1555, allocations: 4 kB / 320.5 MB, free: 3.352 MB / 266.7 MB Notification: Performance of Templates: time 0.02461/0.1801, allocations: 19.45 MB / 340 MB, free: 372 kB / 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.2854724689386785]