Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 107.4 kB / 17.16 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 223.9 MB, free: 12.38 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 51.94 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.129, allocations: 46.63 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006752/0.1358, allocations: 5.605 MB / 332.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002889/0.1387, allocations: 1.465 MB / 333.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.1401, allocations: 15.94 kB / 333.7 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.1413, allocations: 159 kB / 333.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.1429, allocations: 337.3 kB / 334.2 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.1439, allocations: 219.8 kB / 334.4 MB, free: 13.06 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002541/0.1465, allocations: 1.3 MB / 335.7 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000643/0.1472, allocations: 372.3 kB / 336.1 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007698/0.1479, allocations: 490.1 kB / 336.5 MB, free: 10.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006198/0.1486, allocations: 0.5523 MB / 337.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.1487, allocations: 84 kB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.1489, allocations: 88 kB / 337.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.1491, allocations: 227.1 kB / 337.5 MB, free: 9.941 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005544/0.1497, allocations: 0.5753 MB / 338 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1508, allocations: 1.359 MB / 339.4 MB, free: 8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1509, allocations: 0 / 339.4 MB, free: 8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1509, allocations: 0 / 339.4 MB, free: 8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.1509, allocations: 0 / 339.4 MB, free: 8 MB / 286.1 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.002529/0.1534, allocations: 1.489 MB / 340.9 MB, free: 6.438 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.1535, allocations: 8.031 kB / 340.9 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.1537, allocations: 131.5 kB / 341 MB, free: 6.301 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009205/0.1547, allocations: 0.6265 MB / 341.7 MB, free: 5.633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.1549, allocations: 151.6 kB / 341.8 MB, free: 5.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.155, allocations: 68.38 kB / 341.9 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/0.1566, allocations: 0.9669 MB / 342.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.1566, allocations: 3.938 kB / 342.8 MB, free: 4.312 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.1567, allocations: 36 kB / 342.9 MB, free: 4.277 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.1568, allocations: 16 kB / 342.9 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.1581, allocations: 0.6168 MB / 343.5 MB, free: 3.648 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.1622, allocations: 2.644 MB / 346.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002783/0.165, allocations: 0.8648 MB / 347 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.1657, allocations: 346.8 kB / 347.4 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.348e-05/0.1658, allocations: 28.56 kB / 347.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/0.1659, allocations: 51.22 kB / 347.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.1659, allocations: 0 / 347.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002706/0.1686, allocations: 1.401 MB / 348.8 MB, free: 14.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006194/0.1692, allocations: 0.9527 MB / 349.8 MB, free: 12.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.1703, allocations: 0.7903 MB / 350.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/0.1704, allocations: 49.64 kB / 350.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003393/0.1708, allocations: 408.5 kB / 351 MB, free: 11.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.171, allocations: 248.3 kB / 351.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.1713, allocations: 158.7 kB / 351.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1715, allocations: 330 kB / 351.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005516/0.172, allocations: 253.9 kB / 352 MB, free: 10.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/0.1729, allocations: 0.588 MB / 352.6 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.1741, allocations: 0.6678 MB / 353.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1742, allocations: 0 / 353.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001769/0.1759, allocations: 0.9547 MB / 354.2 MB, free: 8.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.176, allocations: 85.09 kB / 354.3 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.176, allocations: 4 kB / 354.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/0.1764, allocations: 128.2 kB / 354.4 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.1772, allocations: 147.8 kB / 354.6 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005598/0.1828, allocations: 6.793 MB / 361.4 MB, free: 340 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.1839, allocations: 111.2 kB / 361.5 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-05/0.184, allocations: 24 kB / 361.5 MB, free: 204 kB / 302.1 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.000494/0.1845, allocations: 237.8 kB / 361.7 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.1847, allocations: 106.8 kB / 361.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1848, allocations: 96.91 kB / 361.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.1849, allocations: 8 kB / 361.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.1849, allocations: 0 / 361.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001394/0.1863, allocations: 0.9739 MB / 362.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.1892, allocations: 1.75 MB / 364.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/0.1892, allocations: 3.938 kB / 364.7 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.19, allocations: 159.7 kB / 364.8 MB, free: 12.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.1901, allocations: 24.84 kB / 364.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.1902, allocations: 12 kB / 364.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009139/0.1911, allocations: 1.304 MB / 366.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1911, allocations: 0 / 366.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.1931, allocations: 1.08 MB / 367.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004217/0.1935, allocations: 251.8 kB / 367.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.1937, allocations: 20 kB / 367.5 MB, free: 9.812 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/0.1944, allocations: 51.89 kB / 367.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.1945, allocations: 44.53 kB / 367.6 MB, free: 9.719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.1945, allocations: 20 kB / 367.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006613/0.1952, allocations: 0.5498 MB / 368.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1952, allocations: 0 / 368.2 MB, free: 9.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008216/0.196, allocations: 295.6 kB / 368.4 MB, free: 8.863 MB / 318.1 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.0001746/0.1962, allocations: 123.1 kB / 368.6 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.1982, allocations: 1.39 MB / 370 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.1982, allocations: 0 / 370 MB, free: 7.246 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006762/0.1989, allocations: 426.3 kB / 370.4 MB, free: 6.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.2001, allocations: 255.4 kB / 370.6 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.203, allocations: 2.006 MB / 372.6 MB, free: 4.543 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004743/0.2035, allocations: 0.9797 MB / 373.6 MB, free: 3.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005377/0.204, allocations: 135.4 kB / 373.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.2042, allocations: 75.42 kB / 373.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2042, allocations: 0 / 373.8 MB, free: 3.32 MB / 318.1 MB Notification: Performance of Templates: time 0.1818/0.386, allocations: 16.66 MB / 390.5 MB, free: 48.09 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches