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.001085/0.001085, allocations: 104 kB / 17.58 MB, free: 5.418 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.001343/0.001343, allocations: 187.9 kB / 18.5 MB, free: 4.504 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.38/1.38, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001103/0.001103, allocations: 52.14 kB / 280.6 MB, free: 3.191 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.0975, allocations: 46.64 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005873/0.1034, allocations: 4.933 MB / 332.2 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002264/0.1057, allocations: 1.321 MB / 333.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.106, allocations: 8 kB / 333.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004523/0.1065, allocations: 166.5 kB / 333.7 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006779/0.1072, allocations: 321.2 kB / 334 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.1077, allocations: 223.6 kB / 334.2 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.1092, allocations: 1.145 MB / 335.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.1097, allocations: 337.9 kB / 335.7 MB, free: 11.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006944/0.1104, allocations: 446.4 kB / 336.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.111, allocations: 498 kB / 336.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.1111, allocations: 107.9 kB / 336.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1113, allocations: 104 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1115, allocations: 223.2 kB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.112, allocations: 0.5133 MB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.113, allocations: 1.168 MB / 338.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.113, allocations: 0 / 338.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.113, allocations: 0 / 338.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.597e-05/0.1131, allocations: 0 / 338.7 MB, free: 8.949 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.002465/0.1155, allocations: 1.314 MB / 340.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1156, allocations: 11.89 kB / 340.1 MB, free: 7.551 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.1158, allocations: 107.8 kB / 340.2 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007392/0.1165, allocations: 0.5474 MB / 340.7 MB, free: 6.859 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.1167, allocations: 147 kB / 340.9 MB, free: 6.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.1168, allocations: 56.38 kB / 340.9 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1181, allocations: 0.8394 MB / 341.8 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.1181, allocations: 0 / 341.8 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.1182, allocations: 28 kB / 341.8 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.1182, allocations: 20 kB / 341.8 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1193, allocations: 0.5517 MB / 342.4 MB, free: 5.105 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.003063/0.1224, allocations: 2.112 MB / 344.5 MB, free: 2.883 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.1241, allocations: 0.9707 MB / 345.4 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.1248, allocations: 370.4 kB / 345.8 MB, free: 1.48 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.353e-05/0.1248, allocations: 16.7 kB / 345.8 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1249, allocations: 47.22 kB / 345.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.104e-06/0.1249, allocations: 0 / 345.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004532/0.1294, allocations: 1.738 MB / 347.6 MB, free: 15.58 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003954/0.1298, allocations: 0.8234 MB / 348.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007489/0.1306, allocations: 0.6372 MB / 349.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.167e-05/0.1307, allocations: 51.34 kB / 349.1 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.1309, allocations: 329 kB / 349.4 MB, free: 13.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.1311, allocations: 256.3 kB / 349.7 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.1313, allocations: 150.5 kB / 349.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.1316, allocations: 390.7 kB / 350.2 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.1321, allocations: 245.9 kB / 350.4 MB, free: 12.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/0.1328, allocations: 0.5273 MB / 351 MB, free: 11.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.1339, allocations: 0.631 MB / 351.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1339, allocations: 0 / 351.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00228/0.1362, allocations: 1.048 MB / 352.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.629e-05/0.1363, allocations: 93.03 kB / 352.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1363, allocations: 0 / 352.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/0.137, allocations: 231.3 kB / 353 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.1376, allocations: 131.8 kB / 353.1 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.1456, allocations: 6.935 MB / 360 MB, free: 2.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008736/0.1465, allocations: 95.31 kB / 360.1 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/0.1466, allocations: 28.16 kB / 360.2 MB, free: 2.031 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.0003915/0.147, allocations: 217.8 kB / 360.4 MB, free: 1.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.1472, allocations: 86.97 kB / 360.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.1473, allocations: 95.33 kB / 360.5 MB, free: 1.625 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.1474, allocations: 11.94 kB / 360.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.1474, allocations: 0 / 360.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002191/0.1496, allocations: 1.186 MB / 361.7 MB, free: 320 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003372/0.1529, allocations: 1.868 MB / 363.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.153, allocations: 0 / 363.6 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.1536, allocations: 127.8 kB / 363.7 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.1541, allocations: 194.5 kB / 363.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.705e-05/0.1541, allocations: 19.98 kB / 363.9 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005843/0.16, allocations: 5.31 MB / 369.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.16, allocations: 7.875 kB / 369.3 MB, free: 8.297 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002839/0.1629, allocations: 1.311 MB / 370.6 MB, free: 6.949 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.1633, allocations: 231.9 kB / 370.8 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.1634, allocations: 23.98 kB / 370.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005808/0.164, allocations: 47.97 kB / 370.9 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001843/0.1642, allocations: 56.58 kB / 370.9 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.1643, allocations: 16 kB / 370.9 MB, free: 6.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006047/0.1649, allocations: 459 kB / 371.4 MB, free: 6.117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1649, allocations: 4 kB / 371.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008627/0.1657, allocations: 279.7 kB / 371.7 MB, free: 5.84 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.0001843/0.1659, allocations: 131.1 kB / 371.8 MB, free: 5.703 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.1682, allocations: 1.324 MB / 373.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1682, allocations: 0 / 373.1 MB, free: 4.289 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000941/0.1692, allocations: 0.6952 MB / 373.8 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009716/0.1702, allocations: 239.1 kB / 374 MB, free: 3.324 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.173, allocations: 1.603 MB / 375.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005281/0.1736, allocations: 0.9477 MB / 376.6 MB, free: 0.707 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004041/0.174, allocations: 102.4 kB / 376.7 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.1741, allocations: 67.42 kB / 376.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1741, allocations: 4 kB / 376.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of Templates: time 0.1765/0.3506, allocations: 17.89 MB / 394.7 MB, free: 46.04 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches