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.001458/0.001458, allocations: 102.2 kB / 17.15 MB, free: 6.316 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.001556/0.001556, allocations: 190 kB / 18.07 MB, free: 5.414 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.536/1.536, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001312/0.001312, allocations: 55.91 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1054, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006029/0.1115, allocations: 4.94 MB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.1144, allocations: 1.321 MB / 332.9 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007611/0.1152, allocations: 11.94 kB / 332.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.1159, allocations: 131.1 kB / 333 MB, free: 14.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001072/0.117, allocations: 281.8 kB / 333.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006234/0.1177, allocations: 199.8 kB / 333.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001399/0.1191, allocations: 1.094 MB / 334.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000484/0.1196, allocations: 302.5 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006535/0.1202, allocations: 410.5 kB / 335.3 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.1208, allocations: 489.9 kB / 335.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.1209, allocations: 72 kB / 335.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.1211, allocations: 76 kB / 335.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1212, allocations: 191.2 kB / 336.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.1217, allocations: 497.7 kB / 336.6 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008845/0.1226, allocations: 1.133 MB / 337.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1226, allocations: 7.938 kB / 337.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1226, allocations: 0 / 337.7 MB, free: 9.711 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.1226, allocations: 0 / 337.7 MB, free: 9.711 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.002189/0.1248, allocations: 1.31 MB / 339 MB, free: 8.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1249, allocations: 16.03 kB / 339 MB, free: 8.312 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.1251, allocations: 107.8 kB / 339.1 MB, free: 8.207 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.1258, allocations: 0.5474 MB / 339.7 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.1261, allocations: 143 kB / 339.8 MB, free: 7.461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.369e-05/0.1262, allocations: 64.36 kB / 339.9 MB, free: 7.398 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.1274, allocations: 0.8511 MB / 340.7 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1275, allocations: 0 / 340.7 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.1275, allocations: 31.94 kB / 340.8 MB, free: 6.414 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1276, allocations: 12 kB / 340.8 MB, free: 6.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.1287, allocations: 0.5594 MB / 341.3 MB, free: 5.844 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.003242/0.132, allocations: 2.104 MB / 343.4 MB, free: 3.629 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1336, allocations: 0.9629 MB / 344.4 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.1343, allocations: 378.9 kB / 344.8 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.845e-05/0.1344, allocations: 14.36 kB / 344.8 MB, free: 2.215 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.1344, allocations: 51.2 kB / 344.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.924e-06/0.1344, allocations: 0 / 344.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004615/0.139, allocations: 1.738 MB / 346.6 MB, free: 336 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003733/0.1394, allocations: 0.8273 MB / 347.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007318/0.1402, allocations: 0.6333 MB / 348 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/0.1403, allocations: 41.7 kB / 348.1 MB, free: 14.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002491/0.1405, allocations: 337 kB / 348.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.1407, allocations: 248.3 kB / 348.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.141, allocations: 146.6 kB / 348.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1411, allocations: 390.7 kB / 349.2 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005232/0.1417, allocations: 249.9 kB / 349.4 MB, free: 13.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.1424, allocations: 0.5234 MB / 349.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.1435, allocations: 0.6349 MB / 350.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.1435, allocations: 4 kB / 350.6 MB, free: 11.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002377/0.1459, allocations: 1.051 MB / 351.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.835e-05/0.146, allocations: 85.11 kB / 351.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.146, allocations: 0 / 351.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.1467, allocations: 231.3 kB / 351.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.1473, allocations: 131.8 kB / 352.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.1554, allocations: 6.374 MB / 358.4 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.1563, allocations: 103.3 kB / 358.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/0.1564, allocations: 20 kB / 358.6 MB, free: 3.375 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.0004404/0.1569, allocations: 213.8 kB / 358.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.1571, allocations: 91 kB / 358.9 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.1573, allocations: 91.33 kB / 358.9 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1573, allocations: 11.94 kB / 359 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.1573, allocations: 0 / 359 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002245/0.1596, allocations: 1.19 MB / 360.1 MB, free: 1.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003736/0.1633, allocations: 1.86 MB / 362 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.1633, allocations: 4 kB / 362 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006325/0.164, allocations: 123.9 kB / 362.1 MB, free: 15.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.1645, allocations: 206.6 kB / 362.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.1646, allocations: 20 kB / 362.4 MB, free: 15.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005619/0.1702, allocations: 4.879 MB / 367.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1702, allocations: 0 / 367.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/0.1731, allocations: 1.315 MB / 368.6 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.1736, allocations: 232 kB / 368.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.1737, allocations: 20 kB / 368.8 MB, free: 8.477 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006582/0.1744, allocations: 47.95 kB / 368.8 MB, free: 8.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001629/0.1746, allocations: 64.52 kB / 368.9 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.1746, allocations: 19.98 kB / 368.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005604/0.1752, allocations: 459.1 kB / 369.4 MB, free: 7.906 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1752, allocations: 3.938 kB / 369.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009763/0.1762, allocations: 279.7 kB / 369.7 MB, free: 7.629 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.0001819/0.1763, allocations: 119.1 kB / 369.8 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001954/0.1783, allocations: 1.282 MB / 371 MB, free: 6.133 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.1783, allocations: 4 kB / 371.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009142/0.1793, allocations: 0.695 MB / 371.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.1803, allocations: 211 kB / 372 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.1834, allocations: 1.887 MB / 373.8 MB, free: 3.266 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006703/0.1841, allocations: 0.9439 MB / 374.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004461/0.1845, allocations: 106.4 kB / 374.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1847, allocations: 63.42 kB / 375 MB, free: 2.121 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1847, allocations: 0 / 375 MB, free: 2.121 MB / 318.1 MB Notification: Performance of Templates: time 0.1786/0.3633, allocations: 16.68 MB / 391.6 MB, free: 47.65 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