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.001118/0.001118, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00177/0.00177, allocations: 164.4 kB / 24.82 MB, free: 9.266 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 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.573e-06/1.573e-06, allocations: 0 / 273.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.798e-05/1.956e-05, allocations: 2.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00433/0.004349, allocations: 4.866 MB / 278.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.00585, allocations: 1.297 MB / 279.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.006054, allocations: 11.94 kB / 279.6 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.006368, allocations: 166.5 kB / 279.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.006768, allocations: 341 kB / 280.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.007061, allocations: 239.5 kB / 280.3 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000741/0.007802, allocations: 1.195 MB / 281.5 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.008061, allocations: 222.5 kB / 281.7 MB, free: 8.906 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004531/0.008514, allocations: 0.6666 MB / 282.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003466/0.008861, allocations: 379 kB / 282.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.008962, allocations: 100 kB / 282.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.009075, allocations: 104 kB / 282.9 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.009465, allocations: 219.2 kB / 283.2 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.0097, allocations: 395.1 kB / 283.5 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005354/0.01024, allocations: 0.7785 MB / 284.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01024, allocations: 0 / 284.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.01024, allocations: 0 / 284.3 MB, free: 6.285 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.01025, allocations: 0 / 284.3 MB, free: 6.285 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.00124/0.01149, allocations: 1.365 MB / 285.7 MB, free: 4.863 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.01153, allocations: 12.03 kB / 285.7 MB, free: 4.852 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.01168, allocations: 164.3 kB / 285.9 MB, free: 4.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.01215, allocations: 472 kB / 286.3 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.01231, allocations: 293.2 kB / 286.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.678e-05/0.01239, allocations: 72.38 kB / 286.7 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008277/0.01322, allocations: 1.488 MB / 288.2 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.01323, allocations: 4.125 kB / 288.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.149e-05/0.01327, allocations: 36.06 kB / 288.2 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.01328, allocations: 16 kB / 288.2 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002966/0.01358, allocations: 238.2 kB / 288.4 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.01527, allocations: 1.425 MB / 289.9 MB, free: 240 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1426/0.1579, allocations: 404.7 kB / 290.3 MB, free: 26.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.1582, allocations: 182.8 kB / 290.4 MB, free: 26.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/0.1583, allocations: 17.09 kB / 290.5 MB, free: 26.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.1583, allocations: 53.06 kB / 290.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/0.1583, allocations: 0 / 290.5 MB, free: 26.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=73): time 0.001961/0.1603, allocations: 0.96 MB / 291.5 MB, free: 26.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1604, allocations: 0.8235 MB / 292.3 MB, free: 25.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004289/0.1608, allocations: 0.5616 MB / 292.9 MB, free: 24.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.1609, allocations: 44.77 kB / 292.9 MB, free: 24.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.161, allocations: 406 kB / 293.3 MB, free: 24.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1611, allocations: 264.2 kB / 293.6 MB, free: 24.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1613, allocations: 157.9 kB / 293.7 MB, free: 24.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1614, allocations: 0.569 MB / 294.3 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.1616, allocations: 175.2 kB / 294.5 MB, free: 24.05 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003855/0.162, allocations: 1.272 MB / 295.7 MB, free: 22.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/0.1623, allocations: 385.6 kB / 296.1 MB, free: 22.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.1623, allocations: 0.625 kB / 296.1 MB, free: 22.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009103/0.1632, allocations: 0.8049 MB / 296.9 MB, free: 22.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.1632, allocations: 90.31 kB / 297 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1632, allocations: 3.688 kB / 297 MB, free: 22.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/0.1637, allocations: 188.3 kB / 297.2 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.164, allocations: 126.3 kB / 297.3 MB, free: 22 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.1669, allocations: 7.681 MB / 305 MB, free: 14.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.1672, allocations: 82.42 kB / 305.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1672, allocations: 19.05 kB / 305.1 MB, free: 14.91 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.0001442/0.1674, allocations: 211.3 kB / 305.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.824e-05/0.1675, allocations: 105.2 kB / 305.4 MB, free: 14.71 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.35e-05/0.1676, allocations: 85.75 kB / 305.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1676, allocations: 6.875 kB / 305.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.1676, allocations: 4.641 kB / 305.5 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007401/0.1683, allocations: 0.8728 MB / 306.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1698, allocations: 1.255 MB / 307.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.1698, allocations: 1.156 kB / 307.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.1701, allocations: 125.3 kB / 307.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000294/0.1704, allocations: 155.4 kB / 307.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1705, allocations: 13.69 kB / 307.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.1725, allocations: 5.835 MB / 313.7 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1725, allocations: 5.062 kB / 313.7 MB, free: 7.902 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.1735, allocations: 0.8741 MB / 314.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.1737, allocations: 152.1 kB / 314.8 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.337e-05/0.1738, allocations: 18.88 kB / 314.8 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002568/0.174, allocations: 38.97 kB / 314.8 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.1741, allocations: 67.45 kB / 314.9 MB, free: 7.367 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1741, allocations: 15.11 kB / 314.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002038/0.1743, allocations: 357.8 kB / 315.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1743, allocations: 0 / 315.3 MB, free: 7.219 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005799/0.1749, allocations: 286.7 kB / 315.5 MB, free: 7.172 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.0001022/0.175, allocations: 130.5 kB / 315.7 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000746/0.1758, allocations: 1.319 MB / 317 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1758, allocations: 3.531 kB / 317 MB, free: 6.016 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003754/0.1762, allocations: 0.7348 MB / 317.7 MB, free: 5.434 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.1767, allocations: 228.9 kB / 317.9 MB, free: 5.352 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.1784, allocations: 1.425 MB / 319.4 MB, free: 4.531 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.669e-05/0.1784, allocations: 159.4 kB / 319.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.1787, allocations: 103.1 kB / 319.6 MB, free: 4.426 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/0.1792, allocations: 421.8 kB / 320 MB, free: 4.336 MB / 266.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1792, allocations: 2.5 kB / 320 MB, free: 4.336 MB / 266.7 MB Notification: Performance of Templates: time 0.02152/0.2007, allocations: 19.68 MB / 339.7 MB, free: 1.414 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.1684097801335156]