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.0007829/0.000783, allocations: 95.69 kB / 17.3 MB, free: 6.391 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.000899/0.0008991, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.521/1.521, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.000454/0.0004543, allocations: 12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1038, allocations: 47.59 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005201/0.1091, allocations: 5.185 MB / 334.1 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1123, allocations: 1.403 MB / 335.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004362/0.1128, allocations: 11.94 kB / 335.6 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.1133, allocations: 155 kB / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007825/0.1141, allocations: 341.3 kB / 336 MB, free: 12.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004489/0.1145, allocations: 223.8 kB / 336.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001311/0.1158, allocations: 1.292 MB / 337.6 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.1163, allocations: 376.3 kB / 337.9 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.1169, allocations: 466.2 kB / 338.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000588/0.1175, allocations: 0.5366 MB / 338.9 MB, free: 9.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001261/0.1177, allocations: 76 kB / 339 MB, free: 9.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.1178, allocations: 76 kB / 339.1 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.118, allocations: 219.1 kB / 339.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.1186, allocations: 0.5887 MB / 339.9 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.1197, allocations: 1.315 MB / 341.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.1197, allocations: 0 / 341.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1197, allocations: 0 / 341.2 MB, free: 7.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1198, allocations: 4 kB / 341.2 MB, free: 7.457 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.00242/0.1222, allocations: 1.298 MB / 342.5 MB, free: 6.086 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.1223, allocations: 8.031 kB / 342.5 MB, free: 6.078 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.1225, allocations: 127.5 kB / 342.6 MB, free: 5.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009204/0.1234, allocations: 0.6265 MB / 343.2 MB, free: 5.285 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002245/0.1237, allocations: 163.6 kB / 343.4 MB, free: 5.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.1238, allocations: 72.38 kB / 343.5 MB, free: 5.039 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.1255, allocations: 0.9863 MB / 344.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1255, allocations: 0 / 344.5 MB, free: 3.934 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-05/0.1256, allocations: 36 kB / 344.5 MB, free: 3.898 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.1256, allocations: 16 kB / 344.5 MB, free: 3.883 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.127, allocations: 0.6403 MB / 345.1 MB, free: 3.246 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.004084/0.1311, allocations: 2.655 MB / 347.8 MB, free: 440 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002567/0.1336, allocations: 0.8802 MB / 348.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000788/0.1344, allocations: 362.7 kB / 349 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.708e-05/0.1345, allocations: 16.64 kB / 349.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/0.1346, allocations: 51.22 kB / 349.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 3.156e-06/0.1346, allocations: 4 kB / 349.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002696/0.1373, allocations: 1.44 MB / 350.5 MB, free: 13.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000566/0.1379, allocations: 0.9566 MB / 351.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.139, allocations: 0.7903 MB / 352.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.1391, allocations: 45.7 kB / 352.3 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.1394, allocations: 408.5 kB / 352.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.1396, allocations: 256.3 kB / 353 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1397, allocations: 58.02 kB / 353 MB, free: 10.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1399, allocations: 334 kB / 353.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.1405, allocations: 269.9 kB / 353.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.1414, allocations: 0.5996 MB / 354.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.1427, allocations: 0.6912 MB / 354.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1427, allocations: 0 / 354.9 MB, free: 8.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001834/0.1446, allocations: 0.9704 MB / 355.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.887e-05/0.1447, allocations: 93.09 kB / 356 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.1447, allocations: 0 / 356 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003995/0.1451, allocations: 128.2 kB / 356.1 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.1458, allocations: 155.8 kB / 356.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005648/0.1515, allocations: 6.796 MB / 363.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.1525, allocations: 123.1 kB / 363.2 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-05/0.1526, allocations: 27.98 kB / 363.2 MB, free: 15.71 MB / 318.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.000429/0.1531, allocations: 233.7 kB / 363.4 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.1532, allocations: 102.8 kB / 363.5 MB, free: 15.37 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.1534, allocations: 104.9 kB / 363.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1534, allocations: 4 kB / 363.6 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.1534, allocations: 4 kB / 363.6 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001419/0.1549, allocations: 0.9934 MB / 364.6 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.1578, allocations: 1.77 MB / 366.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1578, allocations: 0 / 366.4 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007727/0.1586, allocations: 171.8 kB / 366.6 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.1588, allocations: 32.78 kB / 366.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.1588, allocations: 19.98 kB / 366.6 MB, free: 12.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.16, allocations: 1.3 MB / 367.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.16, allocations: 0 / 367.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.1623, allocations: 1.107 MB / 369 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.1628, allocations: 263.7 kB / 369.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.163, allocations: 20 kB / 369.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007279/0.1637, allocations: 47.91 kB / 369.4 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.499e-05/0.1638, allocations: 52.53 kB / 369.4 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.1639, allocations: 19.98 kB / 369.4 MB, free: 9.109 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008313/0.1647, allocations: 0.5459 MB / 370 MB, free: 8.566 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1647, allocations: 3.938 kB / 370 MB, free: 8.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.1657, allocations: 291.7 kB / 370.3 MB, free: 8.277 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.0001756/0.1659, allocations: 123.1 kB / 370.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002176/0.1681, allocations: 1.401 MB / 371.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.1681, allocations: 3.859 kB / 371.8 MB, free: 6.641 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007425/0.1688, allocations: 446.4 kB / 372.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.1701, allocations: 255.3 kB / 372.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.1736, allocations: 2.11 MB / 374.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006675/0.1742, allocations: 0.9836 MB / 375.6 MB, free: 2.801 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005928/0.1748, allocations: 131.5 kB / 375.7 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.1751, allocations: 71.44 kB / 375.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1751, allocations: 0 / 375.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Templates: time 0.1912/0.3663, allocations: 16.53 MB / 392.3 MB, free: 46.94 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