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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00356/0.00356, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8356/0.8356, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103e-05/1.23e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.1346/0.1346, allocations: 4.402 MB / 302.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00236/0.137, allocations: 1.29 MB / 304.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.1372, allocations: 12.75 kB / 304.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1376, allocations: 159.1 kB / 304.3 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005214/0.1381, allocations: 351.1 kB / 304.6 MB, free: 12.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1385, allocations: 222.8 kB / 304.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009813/0.1395, allocations: 1.203 MB / 306.1 MB, free: 12.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003292/0.1398, allocations: 225.6 kB / 306.3 MB, free: 12 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006095/0.1404, allocations: 0.6629 MB / 306.9 MB, free: 11.72 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004391/0.1409, allocations: 372.3 kB / 307.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.141, allocations: 105.2 kB / 307.4 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1411, allocations: 104.3 kB / 307.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1412, allocations: 224.3 kB / 307.7 MB, free: 11.44 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003573/0.1416, allocations: 382.1 kB / 308.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.1427, allocations: 1.229 MB / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1427, allocations: 0 / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1427, allocations: 3.297 kB / 309.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.62e-05/0.1427, allocations: 4 kB / 309.3 MB, free: 10.79 MB / 282.7 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.001511/0.1442, allocations: 1.253 MB / 310.6 MB, free: 9.938 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1442, allocations: 13.67 kB / 310.6 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.1444, allocations: 128.7 kB / 310.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.1445, allocations: 112.1 kB / 310.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006559/0.1452, allocations: 0.4936 MB / 311.3 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.1453, allocations: 304.3 kB / 311.6 MB, free: 9.141 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.1454, allocations: 61.09 kB / 311.7 MB, free: 9.121 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.1465, allocations: 1.612 MB / 313.3 MB, free: 7.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1465, allocations: 4.875 kB / 313.3 MB, free: 7.648 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/0.1466, allocations: 44.97 kB / 313.3 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.1466, allocations: 14.88 kB / 313.4 MB, free: 7.613 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000815/0.1474, allocations: 0.5546 MB / 313.9 MB, free: 7.434 MB / 282.7 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.002467/0.1498, allocations: 1.693 MB / 315.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1509, allocations: 0.6906 MB / 316.3 MB, free: 6.258 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004351/0.1514, allocations: 330.9 kB / 316.6 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.1514, allocations: 20.22 kB / 316.6 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.1514, allocations: 47.77 kB / 316.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.823e-06/0.1514, allocations: 4 kB / 316.7 MB, free: 6.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.002626/0.1541, allocations: 1.427 MB / 318.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.1541, allocations: 0.827 MB / 319 MB, free: 4.621 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.1546, allocations: 0.6502 MB / 319.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.1547, allocations: 41.52 kB / 319.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1548, allocations: 341.1 kB / 320 MB, free: 4.02 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.1549, allocations: 269.2 kB / 320.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.1551, allocations: 140.6 kB / 320.4 MB, free: 3.734 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.1551, allocations: 389.1 kB / 320.8 MB, free: 3.387 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.1555, allocations: 322.5 kB / 321.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005327/0.156, allocations: 1.364 MB / 322.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.1567, allocations: 0.6353 MB / 323.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1567, allocations: 5.406 kB / 323.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001326/0.158, allocations: 1.128 MB / 324.2 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.1581, allocations: 91.09 kB / 324.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1581, allocations: 1.094 kB / 324.3 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004184/0.1585, allocations: 231.6 kB / 324.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.1588, allocations: 129.2 kB / 324.6 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004814/0.1636, allocations: 6.467 MB / 331.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.164, allocations: 95.11 kB / 331.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.164, allocations: 20.25 kB / 331.2 MB, free: 10.38 MB / 298.7 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.0002275/0.1643, allocations: 220.4 kB / 331.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.497e-05/0.1644, allocations: 93.64 kB / 331.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.1645, allocations: 96.86 kB / 331.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.1645, allocations: 8 kB / 331.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1645, allocations: 0 / 331.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/0.1657, allocations: 1.18 MB / 332.8 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.1679, allocations: 1.683 MB / 334.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1679, allocations: 0 / 334.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.1682, allocations: 131.4 kB / 334.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.1685, allocations: 193.5 kB / 334.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.1685, allocations: 24.73 kB / 334.8 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003759/0.1723, allocations: 4.96 MB / 339.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1723, allocations: 0 / 339.8 MB, free: 3.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.174, allocations: 1.317 MB / 341.1 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.1742, allocations: 163.3 kB / 341.3 MB, free: 1.812 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.1743, allocations: 20.44 kB / 341.3 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.1746, allocations: 39.97 kB / 341.3 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.1747, allocations: 64.42 kB / 341.4 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.1748, allocations: 23.98 kB / 341.4 MB, free: 1.668 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003892/0.1751, allocations: 459.1 kB / 341.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1751, allocations: 7.938 kB / 341.9 MB, free: 1.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006284/0.1758, allocations: 287.8 kB / 342.2 MB, free: 0.9336 MB / 298.7 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.001948/0.1777, allocations: 1.884 MB / 344 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001562/0.1793, allocations: 1.333 MB / 345.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1793, allocations: 0 / 345.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/0.1798, allocations: 0.6676 MB / 346 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.1805, allocations: 230.8 kB / 346.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008159/0.1886, allocations: 7.707 MB / 354 MB, free: 4.652 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1889, allocations: 350 kB / 354.3 MB, free: 4.285 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002847/0.1891, allocations: 102.4 kB / 354.4 MB, free: 4.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.1894, allocations: 292.4 kB / 354.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of SimCode: time 7.12e-07/0.1894, allocations: 0 / 354.7 MB, free: 3.895 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04538/0.2348, allocations: 27.6 MB / 382.3 MB, free: 8.195 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.271/8.506, allocations: 11.84 kB / 382.3 MB, free: 8.184 MB / 346.7 MB " [Timeout remaining time 651] (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 --stepSize=0.001 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.081742051057518]