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.0008196/0.0008197, allocations: 96.55 kB / 17.3 MB, free: 6.387 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.0008211/0.0008213, allocations: 176.8 kB / 18.21 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.507/1.507, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004801/0.0004803, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004819/0.1128, allocations: 4.531 MB / 333.5 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002594/0.1154, allocations: 1.259 MB / 334.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003972/0.1158, allocations: 8 kB / 334.8 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004109/0.1162, allocations: 135.1 kB / 334.9 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007234/0.117, allocations: 285.7 kB / 335.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1175, allocations: 187.8 kB / 335.3 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1186, allocations: 1.11 MB / 336.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.119, allocations: 298.5 kB / 336.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.1194, allocations: 398.4 kB / 337.1 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004715/0.1199, allocations: 470 kB / 337.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.12, allocations: 68 kB / 337.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1201, allocations: 68 kB / 337.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.1202, allocations: 183.2 kB / 337.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004106/0.1207, allocations: 0.4955 MB / 338.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.1215, allocations: 1.105 MB / 339.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1215, allocations: 0 / 339.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.582e-06/0.1215, allocations: 0 / 339.5 MB, free: 9.133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.1216, allocations: 0 / 339.5 MB, free: 9.133 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.002061/0.1236, allocations: 1.162 MB / 340.7 MB, free: 7.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1237, allocations: 16.03 kB / 340.7 MB, free: 7.883 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.1239, allocations: 107.8 kB / 340.8 MB, free: 7.777 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007418/0.1246, allocations: 0.5474 MB / 341.3 MB, free: 7.188 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002133/0.1248, allocations: 143 kB / 341.5 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.125, allocations: 60.38 kB / 341.5 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.1263, allocations: 0.8589 MB / 342.4 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.1264, allocations: 0 / 342.4 MB, free: 6.012 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.415e-05/0.1264, allocations: 28 kB / 342.4 MB, free: 5.984 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.1265, allocations: 12 kB / 342.4 MB, free: 5.973 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.1277, allocations: 0.5829 MB / 343 MB, free: 5.391 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.003303/0.131, allocations: 2.127 MB / 345.1 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.1329, allocations: 0.9957 MB / 346.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006891/0.1336, allocations: 390.9 kB / 346.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.1337, allocations: 8.656 kB / 346.5 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.1337, allocations: 51.22 kB / 346.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 4.729e-06/0.1337, allocations: 112 / 346.6 MB, free: 1.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.005016/0.1388, allocations: 1.898 MB / 348.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003272/0.1391, allocations: 0.8234 MB / 349.3 MB, free: 14.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.1399, allocations: 0.6371 MB / 349.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.14, allocations: 45.7 kB / 350 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1403, allocations: 329.1 kB / 350.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.1405, allocations: 256.2 kB / 350.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.27e-05/0.1406, allocations: 61.67 kB / 350.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1408, allocations: 394.7 kB / 351 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.1414, allocations: 261.9 kB / 351.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008008/0.1422, allocations: 0.5312 MB / 351.8 MB, free: 12.01 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.1433, allocations: 0.6583 MB / 352.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1434, allocations: 4 kB / 352.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002431/0.1458, allocations: 1.114 MB / 353.6 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/0.1459, allocations: 89.09 kB / 353.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1459, allocations: 0 / 353.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007703/0.1467, allocations: 255.2 kB / 353.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.1472, allocations: 131.8 kB / 354 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007997/0.1552, allocations: 6.495 MB / 360.5 MB, free: 2.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.1564, allocations: 115.3 kB / 360.6 MB, free: 2.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.593e-05/0.1564, allocations: 24.17 kB / 360.7 MB, free: 2.504 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 (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.0004295/0.1569, allocations: 221.8 kB / 360.9 MB, free: 2.277 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.157, allocations: 86.97 kB / 361 MB, free: 2.191 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.1572, allocations: 87.34 kB / 361 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1572, allocations: 11.94 kB / 361.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1573, allocations: 0 / 361.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002334/0.1596, allocations: 1.256 MB / 362.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003771/0.1634, allocations: 1.93 MB / 364.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.1634, allocations: 4 kB / 364.3 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.164, allocations: 127.8 kB / 364.4 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006103/0.1647, allocations: 218.6 kB / 364.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.135e-05/0.1647, allocations: 19.92 kB / 364.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006159/0.1709, allocations: 4.993 MB / 369.6 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1709, allocations: 0 / 369.6 MB, free: 8.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003126/0.174, allocations: 1.397 MB / 371 MB, free: 7.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004683/0.1745, allocations: 240 kB / 371.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.1746, allocations: 20 kB / 371.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.1753, allocations: 51.88 kB / 371.3 MB, free: 7.199 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.1755, allocations: 60.5 kB / 371.4 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/0.1755, allocations: 20 kB / 371.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006578/0.1762, allocations: 459 kB / 371.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1762, allocations: 4 kB / 371.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001025/0.1772, allocations: 279.8 kB / 372.1 MB, free: 6.402 MB / 318.1 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.0002266/0.1774, allocations: 127.1 kB / 372.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002018/0.1795, allocations: 1.309 MB / 373.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.1795, allocations: 0 / 373.5 MB, free: 4.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.1805, allocations: 0.703 MB / 374.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.1816, allocations: 211 kB / 374.4 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003036/0.1847, allocations: 1.997 MB / 376.4 MB, free: 1.891 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/0.1852, allocations: 0.94 MB / 377.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004504/0.1857, allocations: 106.4 kB / 377.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.1858, allocations: 63.42 kB / 377.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of SimCode: time 8.11e-07/0.1858, allocations: 0 / 377.6 MB, free: 0.75 MB / 318.1 MB Notification: Performance of Templates: time 0.1902/0.376, allocations: 16.55 MB / 394.1 MB, free: 46.06 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (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) 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