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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 104 kB / 17.58 MB, free: 5.414 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.001163/0.001163, allocations: 191.9 kB / 18.5 MB, free: 4.5 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.408/1.408, allocations: 205.1 MB / 224.4 MB, free: 12.29 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.001363/0.001363, allocations: 47.92 kB / 280.7 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09278/0.09415, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.007534/0.1017, allocations: 4.925 MB / 332.3 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003118/0.1049, allocations: 1.325 MB / 333.6 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006268/0.1055, allocations: 12 kB / 333.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006085/0.1062, allocations: 166.5 kB / 333.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.1074, allocations: 321.2 kB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.108, allocations: 231.6 kB / 334.3 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.1098, allocations: 1.145 MB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005943/0.1104, allocations: 330 kB / 335.8 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.1111, allocations: 442.4 kB / 336.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008182/0.112, allocations: 0.4941 MB / 336.7 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.1122, allocations: 100 kB / 336.8 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.1126, allocations: 104 kB / 336.9 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.1128, allocations: 227.2 kB / 337.2 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007254/0.1135, allocations: 0.5172 MB / 337.7 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.1147, allocations: 1.16 MB / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1148, allocations: 0 / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1148, allocations: 0 / 338.8 MB, free: 8.848 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.16e-05/0.1148, allocations: 4 kB / 338.8 MB, free: 8.844 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.00275/0.1176, allocations: 1.314 MB / 340.2 MB, free: 7.457 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1176, allocations: 8.031 kB / 340.2 MB, free: 7.449 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002119/0.1178, allocations: 115.9 kB / 340.3 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.1181, allocations: 111.7 kB / 340.4 MB, free: 7.219 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000861/0.119, allocations: 0.5551 MB / 340.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002176/0.1192, allocations: 139 kB / 341.1 MB, free: 6.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.1193, allocations: 64.38 kB / 341.1 MB, free: 6.406 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.1207, allocations: 0.8548 MB / 342 MB, free: 5.449 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1208, allocations: 4 kB / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.255e-05/0.1208, allocations: 28 kB / 342 MB, free: 5.418 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.1209, allocations: 16 kB / 342 MB, free: 5.402 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1221, allocations: 0.5634 MB / 342.6 MB, free: 4.84 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.003595/0.1257, allocations: 2.162 MB / 344.8 MB, free: 2.574 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.1275, allocations: 0.9588 MB / 345.7 MB, free: 1.547 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.1282, allocations: 382.4 kB / 346.1 MB, free: 1.168 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.1283, allocations: 16.7 kB / 346.1 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.1283, allocations: 51.16 kB / 346.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.036e-06/0.1283, allocations: 0 / 346.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004654/0.133, allocations: 1.734 MB / 347.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004164/0.1334, allocations: 0.825 MB / 348.7 MB, free: 14.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008282/0.1342, allocations: 0.6371 MB / 349.4 MB, free: 13.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.604e-05/0.1343, allocations: 45.7 kB / 349.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.1346, allocations: 333 kB / 349.7 MB, free: 13.22 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.1348, allocations: 264.1 kB / 350 MB, free: 12.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002674/0.1351, allocations: 142.7 kB / 350.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1353, allocations: 390.7 kB / 350.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000533/0.1358, allocations: 249.9 kB / 350.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008776/0.1367, allocations: 0.5234 MB / 351.3 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.1379, allocations: 0.6271 MB / 351.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1379, allocations: 0 / 351.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002296/0.1402, allocations: 1.055 MB / 353 MB, free: 9.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.727e-05/0.1403, allocations: 89.09 kB / 353 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.1403, allocations: 0 / 353 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006671/0.141, allocations: 247.2 kB / 353.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/0.1415, allocations: 131.8 kB / 353.4 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/0.164, allocations: 6.923 MB / 360.3 MB, free: 1.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/0.165, allocations: 99.28 kB / 360.4 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.1651, allocations: 23.98 kB / 360.5 MB, free: 1.715 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.0004996/0.1656, allocations: 221.7 kB / 360.7 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.1659, allocations: 87 kB / 360.8 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.1661, allocations: 91.34 kB / 360.8 MB, free: 1.309 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1661, allocations: 8 kB / 360.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.1662, allocations: 0 / 360.9 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002237/0.1684, allocations: 1.194 MB / 362 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/0.1721, allocations: 1.868 MB / 363.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.1722, allocations: 0 / 363.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/0.1727, allocations: 128 kB / 364 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005045/0.1733, allocations: 202.6 kB / 364.2 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.1733, allocations: 20 kB / 364.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005831/0.1792, allocations: 5.315 MB / 369.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1792, allocations: 0 / 369.6 MB, free: 7.973 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00275/0.182, allocations: 1.315 MB / 370.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003637/0.1823, allocations: 235.9 kB / 371.1 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.1825, allocations: 20 kB / 371.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006037/0.1831, allocations: 51.84 kB / 371.2 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.1832, allocations: 60.75 kB / 371.2 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.1833, allocations: 20 kB / 371.3 MB, free: 6.223 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005279/0.1838, allocations: 463 kB / 371.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1838, allocations: 0 / 371.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008621/0.1847, allocations: 279.8 kB / 372 MB, free: 5.5 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.003132/0.1878, allocations: 1.899 MB / 373.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.1901, allocations: 1.324 MB / 375.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.1902, allocations: 0 / 375.2 MB, free: 2.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009359/0.1911, allocations: 0.695 MB / 375.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009671/0.1921, allocations: 227.1 kB / 376.1 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1675/0.3596, allocations: 7.899 MB / 384 MB, free: 50.39 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.3601, allocations: 0.9462 MB / 385 MB, free: 49.69 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004639/0.3605, allocations: 102.8 kB / 385.1 MB, free: 49.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.3609, allocations: 293.8 kB / 385.4 MB, free: 49.47 MB / 318.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3609, allocations: 0 / 385.4 MB, free: 49.47 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09935/0.4602, allocations: 25.08 MB / 410.4 MB, free: 31.76 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.99, allocations: 11.72 kB / 410.5 MB, free: 31.75 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/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