Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 97.88 kB / 16.93 MB, free: 5.984 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.001129/0.00113, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.544/1.544, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004649/0.0004653, allocations: 12 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 47.58 MB / 328.3 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004808/0.1127, allocations: 3.897 MB / 332.2 MB, free: 196 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.1155, allocations: 1.268 MB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000633/0.1161, allocations: 12 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004231/0.1166, allocations: 107.2 kB / 333.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009212/0.1175, allocations: 335.1 kB / 333.9 MB, free: 14.47 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.118, allocations: 179.7 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.1196, allocations: 0.7774 MB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.1201, allocations: 272.3 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005638/0.1206, allocations: 370.8 kB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.1213, allocations: 430.2 kB / 335.9 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001476/0.1215, allocations: 60 kB / 336 MB, free: 12.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1217, allocations: 60 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.1218, allocations: 171.4 kB / 336.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002591/0.1221, allocations: 197.3 kB / 336.4 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008623/0.123, allocations: 0.8101 MB / 337.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.123, allocations: 0 / 337.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.123, allocations: 0 / 337.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.015e-05/0.1231, allocations: 0 / 337.2 MB, free: 11.14 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002639/0.1257, allocations: 1.166 MB / 338.4 MB, free: 9.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.1258, allocations: 16.03 kB / 338.4 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.1262, allocations: 102.9 kB / 338.5 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1272, allocations: 491.8 kB / 339 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002398/0.1275, allocations: 146.4 kB / 339.1 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.1276, allocations: 63.91 kB / 339.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.129, allocations: 0.8432 MB / 340 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1291, allocations: 3.938 kB / 340 MB, free: 8.094 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.1292, allocations: 28 kB / 340.1 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.1292, allocations: 16 kB / 340.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.1304, allocations: 0.5751 MB / 340.6 MB, free: 7.477 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.003748/0.1342, allocations: 2.08 MB / 342.7 MB, free: 5.297 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.1361, allocations: 1.025 MB / 343.8 MB, free: 4.207 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.547e-05/0.1362, allocations: 12.64 kB / 343.8 MB, free: 4.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.1362, allocations: 51.22 kB / 343.8 MB, free: 4.137 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/0.1363, allocations: 0 / 343.8 MB, free: 4.137 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004909/0.1412, allocations: 1.877 MB / 345.7 MB, free: 2.164 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004034/0.1416, allocations: 0.825 MB / 346.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007177/0.1423, allocations: 0.5825 MB / 347.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.1424, allocations: 45.7 kB / 347.1 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.1427, allocations: 329.1 kB / 347.5 MB, free: 180 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002577/0.1429, allocations: 260.4 kB / 347.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.143, allocations: 12 kB / 347.7 MB, free: 15.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002419/0.1432, allocations: 390.5 kB / 348.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.1438, allocations: 257.9 kB / 348.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007284/0.1445, allocations: 0.5312 MB / 348.9 MB, free: 14.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006274/0.1451, allocations: 392 kB / 349.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1452, allocations: 4 kB / 349.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002441/0.1476, allocations: 1.106 MB / 350.4 MB, free: 13.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/0.1477, allocations: 89.09 kB / 350.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1477, allocations: 0 / 350.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006881/0.1484, allocations: 247.3 kB / 350.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.149, allocations: 135.7 kB / 350.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007742/0.1567, allocations: 6.598 MB / 357.5 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/0.1578, allocations: 107.4 kB / 357.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.1578, allocations: 23.94 kB / 357.6 MB, free: 5.332 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004122/0.1583, allocations: 221.7 kB / 357.8 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.1584, allocations: 83.06 kB / 357.9 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.1586, allocations: 95.33 kB / 358 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.1586, allocations: 15.95 kB / 358 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1586, allocations: 0 / 358 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002264/0.1609, allocations: 1.241 MB / 359.2 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003543/0.1645, allocations: 1.878 MB / 361.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1645, allocations: 0 / 361.1 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/0.1651, allocations: 127.9 kB / 361.2 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005583/0.1657, allocations: 222.3 kB / 361.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.1657, allocations: 12 kB / 361.5 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006459/0.1722, allocations: 5.125 MB / 366.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1722, allocations: 0 / 366.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.1753, allocations: 1.378 MB / 368 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.1757, allocations: 227.9 kB / 368.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.1758, allocations: 20 kB / 368.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.1765, allocations: 48.44 kB / 368.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/0.1766, allocations: 60.52 kB / 368.3 MB, free: 9.945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.1767, allocations: 16 kB / 368.3 MB, free: 9.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004986/0.1772, allocations: 419.1 kB / 368.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.433e-06/0.1772, allocations: 0 / 368.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008478/0.178, allocations: 283.6 kB / 369 MB, free: 9.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.1782, allocations: 131.2 kB / 369.1 MB, free: 9.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00201/0.1803, allocations: 1.309 MB / 370.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.1803, allocations: 0 / 370.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.1815, allocations: 0.7691 MB / 371.2 MB, free: 6.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008864/0.1824, allocations: 195.4 kB / 371.4 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.1852, allocations: 1.881 MB / 373.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.1858, allocations: 0.9552 MB / 374.2 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004123/0.1862, allocations: 93.42 kB / 374.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.1864, allocations: 63.42 kB / 374.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1864, allocations: 4 kB / 374.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of Templates: time 0.1884/0.3748, allocations: 15.19 MB / 389.6 MB, free: 48.96 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches