Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.002348/0.002348, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002725/0.002725, allocations: 165.3 kB / 24.27 MB, free: 156 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 1.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1500,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 272.3 MB, free: 1.863 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.907e-05, allocations: 6.312 kB / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.00773/0.007749, allocations: 5.563 MB / 277.9 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.01028, allocations: 1.437 MB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.01058, allocations: 19.88 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004596/0.01103, allocations: 198.3 kB / 279.5 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007878/0.01182, allocations: 416.3 kB / 279.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.01231, allocations: 263.5 kB / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.01416, allocations: 1.416 MB / 281.6 MB, free: 8.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/0.01463, allocations: 259.6 kB / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.0156, allocations: 0.7952 MB / 282.6 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006671/0.01627, allocations: 442.8 kB / 283.1 MB, free: 7.012 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.01646, allocations: 116 kB / 283.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.01671, allocations: 124 kB / 283.3 MB, free: 6.777 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.01697, allocations: 259.1 kB / 283.6 MB, free: 6.523 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005732/0.01755, allocations: 451.1 kB / 284 MB, free: 6.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.01924, allocations: 1.456 MB / 285.5 MB, free: 4.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01925, allocations: 4 kB / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01925, allocations: 0 / 285.5 MB, free: 4.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.01926, allocations: 3.938 kB / 285.5 MB, free: 4.613 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003005/0.02227, allocations: 1.598 MB / 287.1 MB, free: 2.957 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.0223, allocations: 15.97 kB / 287.1 MB, free: 2.941 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.02263, allocations: 188.2 kB / 287.3 MB, free: 2.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.02372, allocations: 0.5961 MB / 287.9 MB, free: 2.133 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.02406, allocations: 301.9 kB / 288.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.02421, allocations: 88.36 kB / 288.2 MB, free: 1.695 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1008/0.125, allocations: 1.951 MB / 290.2 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.125, allocations: 0.6875 kB / 290.2 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.1251, allocations: 36.83 kB / 290.2 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1251, allocations: 18.09 kB / 290.3 MB, free: 28.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.1264, allocations: 0.5906 MB / 290.8 MB, free: 28.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.1303, allocations: 2.137 MB / 293 MB, free: 27.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/0.1327, allocations: 0.7616 MB / 293.7 MB, free: 26.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006417/0.1333, allocations: 317.8 kB / 294.1 MB, free: 26.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.59e-05/0.1334, allocations: 24 kB / 294.1 MB, free: 26.81 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1334, allocations: 50.12 kB / 294.1 MB, free: 26.76 MB / 266.7 MB Notification: Performance of pre-optimization done (n=72): time 2.736e-06/0.1334, allocations: 1.156 kB / 294.1 MB, free: 26.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=72): time 0.002278/0.1357, allocations: 1.034 MB / 295.2 MB, free: 26.36 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/0.1359, allocations: 0.9526 MB / 296.1 MB, free: 25.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.1369, allocations: 0.9088 MB / 297 MB, free: 24.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.1369, allocations: 46.3 kB / 297.1 MB, free: 24.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.1372, allocations: 0.5029 MB / 297.6 MB, free: 24.33 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.1374, allocations: 275.9 kB / 297.8 MB, free: 24.12 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.1376, allocations: 180.7 kB / 298 MB, free: 24.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.362e-05/0.1377, allocations: 0.5184 MB / 298.5 MB, free: 23.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.1383, allocations: 328.8 kB / 298.9 MB, free: 23.35 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008767/0.1391, allocations: 1.669 MB / 300.5 MB, free: 21.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1402, allocations: 0.7034 MB / 301.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1402, allocations: 0 / 301.2 MB, free: 21.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001617/0.1418, allocations: 1.057 MB / 302.3 MB, free: 20.6 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.1419, allocations: 86.05 kB / 302.4 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.1419, allocations: 2 kB / 302.4 MB, free: 20.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/0.1422, allocations: 142.8 kB / 302.5 MB, free: 20.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.1429, allocations: 147.4 kB / 302.7 MB, free: 20.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/0.1472, allocations: 9.308 MB / 312 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008576/0.148, allocations: 92.08 kB / 312.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.1481, allocations: 24.91 kB / 312.1 MB, free: 11.23 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003707/0.1484, allocations: 280.6 kB / 312.4 MB, free: 11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/0.1486, allocations: 118.9 kB / 312.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001681/0.1488, allocations: 98.3 kB / 312.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.1488, allocations: 14.83 kB / 312.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.1488, allocations: 2.156 kB / 312.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.15, allocations: 0.956 MB / 313.5 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002364/0.1523, allocations: 1.655 MB / 315.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1523, allocations: 0.6562 kB / 315.2 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006817/0.153, allocations: 155 kB / 315.3 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000101/0.1531, allocations: 33.7 kB / 315.4 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.1531, allocations: 11.75 kB / 315.4 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006005/0.1537, allocations: 1.805 MB / 317.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1537, allocations: 4 kB / 317.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1553, allocations: 1.129 MB / 318.3 MB, free: 6.328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002921/0.1556, allocations: 179.1 kB / 318.5 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.1557, allocations: 16 kB / 318.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/0.1563, allocations: 39.97 kB / 318.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.1564, allocations: 44.56 kB / 318.6 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.413e-05/0.1564, allocations: 16 kB / 318.6 MB, free: 6.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004845/0.1569, allocations: 0.5965 MB / 319.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1569, allocations: 0 / 319.2 MB, free: 5.441 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006487/0.1576, allocations: 303.6 kB / 319.5 MB, free: 5.145 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000122/0.1577, allocations: 119.2 kB / 319.6 MB, free: 5.016 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.1593, allocations: 1.751 MB / 321.4 MB, free: 3.121 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.1593, allocations: 4 kB / 321.4 MB, free: 3.117 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.1598, allocations: 486.4 kB / 321.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.1608, allocations: 283.5 kB / 322.1 MB, free: 2.363 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.1628, allocations: 1.623 MB / 323.8 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.163, allocations: 393 kB / 324.1 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003899/0.1634, allocations: 122.9 kB / 324.3 MB, free: 176 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.1636, allocations: 76.48 kB / 324.3 MB, free: 100 kB / 266.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1636, allocations: 0 / 324.3 MB, free: 100 kB / 266.7 MB Notification: Performance of Templates: time 0.03375/0.1973, allocations: 18.75 MB / 343.1 MB, free: 13.8 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2920990699203685]