Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008231, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8764/0.8764, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.324e-05, allocations: 3.266 kB / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004191/0.004215, allocations: 4.428 MB / 328.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.006226, allocations: 1.269 MB / 330.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003372/0.006563, allocations: 15.94 kB / 330.2 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.006906, allocations: 158.6 kB / 330.4 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.007396, allocations: 352.9 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003636/0.00776, allocations: 227.6 kB / 330.9 MB, free: 9.293 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008702/0.00863, allocations: 1.199 MB / 332.1 MB, free: 8.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002974/0.008927, allocations: 226.5 kB / 332.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005505/0.009478, allocations: 0.6666 MB / 333 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.009833, allocations: 375 kB / 333.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.382e-05/0.009927, allocations: 100 kB / 333.5 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.01002, allocations: 104 kB / 333.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.01014, allocations: 223.2 kB / 333.8 MB, free: 6.406 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.01041, allocations: 387.2 kB / 334.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.01144, allocations: 1.227 MB / 335.4 MB, free: 4.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.01145, allocations: 3.984 kB / 335.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.01145, allocations: 0 / 335.4 MB, free: 4.793 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.01146, allocations: 0 / 335.4 MB, free: 4.793 MB / 298.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.001427/0.01289, allocations: 1.253 MB / 336.7 MB, free: 3.484 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01294, allocations: 15.98 kB / 336.7 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.01308, allocations: 123.9 kB / 336.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.0132, allocations: 116.3 kB / 336.9 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.01384, allocations: 0.4946 MB / 337.4 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.01402, allocations: 301.2 kB / 337.7 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.01408, allocations: 60.38 kB / 337.8 MB, free: 2.297 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.0152, allocations: 1.62 MB / 339.4 MB, free: 396 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.01522, allocations: 8.172 kB / 339.4 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.01527, allocations: 31.94 kB / 339.4 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01528, allocations: 12 kB / 339.4 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.01602, allocations: 0.5633 MB / 340 MB, free: 15.77 MB / 314.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.002525/0.01855, allocations: 1.678 MB / 341.7 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.01961, allocations: 0.703 MB / 342.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.02002, allocations: 336.3 kB / 342.7 MB, free: 13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.02006, allocations: 16.66 kB / 342.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.02009, allocations: 43.22 kB / 342.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.896e-06/0.02009, allocations: 0 / 342.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002574/0.02267, allocations: 1.426 MB / 344.2 MB, free: 11.49 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002408/0.02291, allocations: 0.8234 MB / 345 MB, free: 10.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.0235, allocations: 0.6526 MB / 345.7 MB, free: 9.809 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.655e-05/0.02356, allocations: 45.7 kB / 345.7 MB, free: 9.758 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.02375, allocations: 337.4 kB / 346.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.02391, allocations: 261.8 kB / 346.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.02406, allocations: 150.6 kB / 346.5 MB, free: 9.016 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.02418, allocations: 386.8 kB / 346.8 MB, free: 8.629 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.02453, allocations: 327 kB / 347.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009608/0.02549, allocations: 1.363 MB / 348.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.02619, allocations: 0.6349 MB / 349.2 MB, free: 5.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.02619, allocations: 3.938 kB / 349.2 MB, free: 5.949 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001401/0.02759, allocations: 1.123 MB / 350.3 MB, free: 4.773 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.02764, allocations: 85.05 kB / 350.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02765, allocations: 0 / 350.4 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.02809, allocations: 243.2 kB / 350.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.02838, allocations: 123.8 kB / 350.7 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/0.0337, allocations: 6.475 MB / 357.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.03435, allocations: 91.52 kB / 357.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.03439, allocations: 31.94 kB / 357.3 MB, free: 13.24 MB / 330.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.0002865/0.03467, allocations: 209.8 kB / 357.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.03477, allocations: 91.72 kB / 357.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.03487, allocations: 103.2 kB / 357.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.03488, allocations: 4 kB / 357.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.03488, allocations: 0 / 357.7 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/0.03612, allocations: 1.186 MB / 358.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.03832, allocations: 1.679 MB / 360.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.03832, allocations: 192 / 360.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.03864, allocations: 135.9 kB / 360.7 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003208/0.03896, allocations: 198.4 kB / 360.9 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.039, allocations: 15.94 kB / 360.9 MB, free: 9.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003879/0.04287, allocations: 4.963 MB / 365.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.04288, allocations: 0 / 365.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001851/0.04473, allocations: 1.321 MB / 367.2 MB, free: 2.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.04505, allocations: 155.3 kB / 367.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/0.04514, allocations: 20 kB / 367.4 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.04545, allocations: 43.95 kB / 367.4 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.04559, allocations: 68.48 kB / 367.5 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.04561, allocations: 16 kB / 367.5 MB, free: 2.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004582/0.04607, allocations: 463 kB / 368 MB, free: 2.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.04607, allocations: 0 / 368 MB, free: 2.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007116/0.04678, allocations: 287.8 kB / 368.2 MB, free: 1.746 MB / 330.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.002164/0.04895, allocations: 1.884 MB / 370.1 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.05032, allocations: 1.337 MB / 371.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.05032, allocations: 4 kB / 371.5 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.05093, allocations: 0.6639 MB / 372.1 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007202/0.05165, allocations: 235 kB / 372.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008671/0.06032, allocations: 7.718 MB / 380.1 MB, free: 5.461 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.06056, allocations: 350 kB / 380.4 MB, free: 5.094 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003434/0.0609, allocations: 102.4 kB / 380.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.06117, allocations: 304.4 kB / 380.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/0.06117, allocations: 0 / 380.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.1043, allocations: 27.59 MB / 408.4 MB, free: 9.484 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.453/8.557, allocations: 8.016 kB / 408.4 MB, free: 9.477 MB / 378.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.214440469630063]