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.001334/0.001334, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001375/0.001375, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.275/1.275, allocations: 205.1 MB / 224 MB, free: 12.45 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.001123/0.001123, allocations: 47.92 kB / 280.3 MB, free: 3.391 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07881/0.07994, allocations: 46.62 MB / 326.9 MB, free: 4.691 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005842/0.08582, allocations: 4.943 MB / 331.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003125/0.08898, allocations: 1.317 MB / 333.1 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008679/0.08988, allocations: 12 kB / 333.1 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.09064, allocations: 131.1 kB / 333.3 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.0918, allocations: 289.7 kB / 333.6 MB, free: 13.96 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.0926, allocations: 191.8 kB / 333.7 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.0945, allocations: 1.145 MB / 334.9 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.09507, allocations: 334 kB / 335.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006481/0.09573, allocations: 450.4 kB / 335.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007356/0.09648, allocations: 0.4902 MB / 336.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000201/0.09669, allocations: 103.9 kB / 336.2 MB, free: 11.26 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.0969, allocations: 104 kB / 336.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.09707, allocations: 219.3 kB / 336.6 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.09752, allocations: 0.5172 MB / 337.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009919/0.09852, allocations: 1.164 MB / 338.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.576e-05/0.09855, allocations: 0 / 338.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.09856, allocations: 0 / 338.2 MB, free: 9.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.09858, allocations: 0 / 338.2 MB, free: 9.254 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.002028/0.1006, allocations: 1.314 MB / 339.6 MB, free: 7.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.1007, allocations: 11.97 kB / 339.6 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000161/0.1008, allocations: 119.9 kB / 339.7 MB, free: 7.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.101, allocations: 115.7 kB / 339.8 MB, free: 7.617 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000661/0.1017, allocations: 0.5551 MB / 340.4 MB, free: 7.02 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.1019, allocations: 147 kB / 340.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.1019, allocations: 60.38 kB / 340.6 MB, free: 6.797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.1032, allocations: 0.8548 MB / 341.4 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.1032, allocations: 0 / 341.4 MB, free: 5.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.515e-05/0.1033, allocations: 36 kB / 341.4 MB, free: 5.805 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1033, allocations: 16 kB / 341.5 MB, free: 5.789 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.1044, allocations: 0.5672 MB / 342 MB, free: 5.223 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.003019/0.1074, allocations: 2.151 MB / 344.2 MB, free: 2.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.109, allocations: 0.9588 MB / 345.1 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.1096, allocations: 374.4 kB / 345.5 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.497e-05/0.1097, allocations: 16.7 kB / 345.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.1097, allocations: 51.16 kB / 345.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.994e-06/0.1097, allocations: 1.641 kB / 345.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004508/0.1143, allocations: 1.738 MB / 347.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003463/0.1146, allocations: 0.8272 MB / 348.1 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.1153, allocations: 0.641 MB / 348.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.057e-05/0.1154, allocations: 45.7 kB / 348.8 MB, free: 13.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.1157, allocations: 333 kB / 349.1 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.1159, allocations: 260.2 kB / 349.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002287/0.1161, allocations: 142.7 kB / 349.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1163, allocations: 386.8 kB / 349.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.1168, allocations: 249.9 kB / 350.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.1175, allocations: 0.5195 MB / 350.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.1185, allocations: 0.6311 MB / 351.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.1185, allocations: 0 / 351.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002234/0.1207, allocations: 1.051 MB / 352.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.328e-05/0.1208, allocations: 89.09 kB / 352.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1208, allocations: 3.938 kB / 352.5 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/0.1215, allocations: 239.2 kB / 352.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.122, allocations: 123.9 kB / 352.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/0.1291, allocations: 6.951 MB / 359.8 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/0.1299, allocations: 99.23 kB / 359.9 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.1299, allocations: 24 kB / 359.9 MB, free: 2.105 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.0003044/0.1302, allocations: 217.7 kB / 360.1 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1304, allocations: 91 kB / 360.2 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.1305, allocations: 91.33 kB / 360.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1306, allocations: 8 kB / 360.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1306, allocations: 0 / 360.3 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002039/0.1326, allocations: 1.194 MB / 361.5 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.1358, allocations: 1.864 MB / 363.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1359, allocations: 0 / 363.3 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005971/0.1365, allocations: 131.8 kB / 363.5 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004927/0.137, allocations: 194.6 kB / 363.7 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.137, allocations: 19.98 kB / 363.7 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005912/0.1429, allocations: 5.307 MB / 369 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.143, allocations: 4.031 kB / 369 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002982/0.146, allocations: 1.315 MB / 370.3 MB, free: 7.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003496/0.1463, allocations: 240.1 kB / 370.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.1465, allocations: 20 kB / 370.6 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.147, allocations: 47.91 kB / 370.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.1472, allocations: 60.56 kB / 370.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.1473, allocations: 19.98 kB / 370.7 MB, free: 6.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005773/0.1478, allocations: 459.1 kB / 371.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1479, allocations: 4 kB / 371.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009226/0.1488, allocations: 283.7 kB / 371.4 MB, free: 5.898 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.003092/0.1519, allocations: 1.887 MB / 373.3 MB, free: 3.961 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.1542, allocations: 1.32 MB / 374.6 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.1542, allocations: 4.125 kB / 374.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.1552, allocations: 0.6949 MB / 375.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.1563, allocations: 235.1 kB / 375.5 MB, free: 1.59 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1275/0.2838, allocations: 8.158 MB / 383.7 MB, free: 50.53 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.2842, allocations: 0.9432 MB / 384.6 MB, free: 49.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.2846, allocations: 99.42 kB / 384.7 MB, free: 49.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002935/0.2849, allocations: 293.7 kB / 385 MB, free: 49.61 MB / 318.1 MB Notification: Performance of SimCode: time 9.62e-07/0.2849, allocations: 1.688 kB / 385 MB, free: 49.61 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/0.4771, allocations: 24.75 MB / 409.8 MB, free: 32.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.4773, allocations: 239.9 kB / 410 MB, free: 32.04 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/3.609, allocations: 3.938 kB / 410 MB, free: 32.03 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches