Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009712/0.0009712, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8783/0.8783, allocations: 173.4 MB / 200.5 MB, free: 9.414 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137e-05/1.261e-05, allocations: 5.516 kB / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00359/0.003603, allocations: 4.415 MB / 322.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.005303, allocations: 1.238 MB / 324.1 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.005546, allocations: 15.94 kB / 324.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.005846, allocations: 162.6 kB / 324.3 MB, free: 500 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.006256, allocations: 344.9 kB / 324.6 MB, free: 152 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.006559, allocations: 235.5 kB / 324.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007275/0.007286, allocations: 1.21 MB / 326 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002616/0.007548, allocations: 226.5 kB / 326.2 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.00797, allocations: 0.6588 MB / 326.9 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.008279, allocations: 371 kB / 327.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.718e-05/0.008376, allocations: 104 kB / 327.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-05/0.008468, allocations: 100 kB / 327.5 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.008576, allocations: 227.2 kB / 327.7 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002369/0.008813, allocations: 387.1 kB / 328.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007116/0.009525, allocations: 1.223 MB / 329.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.009527, allocations: 0 / 329.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.009528, allocations: 0 / 329.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.009538, allocations: 4 kB / 329.3 MB, free: 11.42 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.001308/0.01085, allocations: 1.256 MB / 330.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01088, allocations: 8.922 kB / 330.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.01101, allocations: 123.9 kB / 330.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.01112, allocations: 120.3 kB / 330.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.01167, allocations: 0.5063 MB / 331.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.01184, allocations: 301.2 kB / 331.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.0119, allocations: 60.38 kB / 331.7 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.01293, allocations: 1.616 MB / 333.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.01294, allocations: 192 / 333.3 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.01299, allocations: 35.88 kB / 333.3 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.013, allocations: 19.98 kB / 333.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/0.01373, allocations: 0.5556 MB / 333.9 MB, free: 6.406 MB / 298.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.001992/0.01572, allocations: 1.686 MB / 335.6 MB, free: 4.672 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.01672, allocations: 0.691 MB / 336.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.01713, allocations: 327.9 kB / 336.6 MB, free: 3.641 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.01716, allocations: 16.64 kB / 336.6 MB, free: 3.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.01719, allocations: 52.8 kB / 336.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 2.034e-06/0.0172, allocations: 0 / 336.6 MB, free: 3.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.002443/0.01964, allocations: 1.429 MB / 338.1 MB, free: 2.117 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002318/0.01987, allocations: 0.8234 MB / 338.9 MB, free: 1.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.02036, allocations: 0.6488 MB / 339.6 MB, free: 448 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/0.02041, allocations: 41.7 kB / 339.6 MB, free: 400 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.02058, allocations: 341.3 kB / 339.9 MB, free: 56 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.02073, allocations: 261.9 kB / 340.2 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.02087, allocations: 154.5 kB / 340.3 MB, free: 15.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.02099, allocations: 382.8 kB / 340.7 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003555/0.02135, allocations: 323 kB / 341 MB, free: 14.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/0.02204, allocations: 1.375 MB / 342.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007066/0.02274, allocations: 0.6349 MB / 343 MB, free: 12.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.02275, allocations: 0 / 343 MB, free: 12.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001345/0.02409, allocations: 1.123 MB / 344.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.118e-05/0.02413, allocations: 89.05 kB / 344.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.02414, allocations: 0 / 344.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.02455, allocations: 243.2 kB / 344.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002774/0.02482, allocations: 123.9 kB / 344.6 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004324/0.02915, allocations: 6.475 MB / 351.1 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/0.02949, allocations: 95.47 kB / 351.2 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/0.02952, allocations: 20 kB / 351.2 MB, free: 3.879 MB / 314.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.000202/0.02972, allocations: 217.7 kB / 351.4 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.02981, allocations: 95.38 kB / 351.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.354e-05/0.0299, allocations: 99.33 kB / 351.6 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.0299, allocations: 8 kB / 351.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.02991, allocations: 0 / 351.6 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.03114, allocations: 1.171 MB / 352.8 MB, free: 2.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.03315, allocations: 1.695 MB / 354.5 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.03316, allocations: 0 / 354.5 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003028/0.03346, allocations: 123.9 kB / 354.6 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.03375, allocations: 202.5 kB / 354.8 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.03378, allocations: 16 kB / 354.8 MB, free: 60 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.03714, allocations: 4.958 MB / 359.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03714, allocations: 7.922 kB / 359.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.03879, allocations: 1.305 MB / 361.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002167/0.039, allocations: 171.2 kB / 361.2 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.03907, allocations: 20 kB / 361.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.03936, allocations: 39.95 kB / 361.3 MB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.03946, allocations: 68.42 kB / 361.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.03948, allocations: 20 kB / 361.4 MB, free: 9.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003492/0.03983, allocations: 459 kB / 361.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03983, allocations: 0 / 361.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000514/0.04035, allocations: 291.7 kB / 362.1 MB, free: 8.371 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.001975/0.04232, allocations: 1.883 MB / 364 MB, free: 6.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.0435, allocations: 1.333 MB / 365.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.0435, allocations: 0 / 365.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000565/0.04406, allocations: 0.6755 MB / 366 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005881/0.04465, allocations: 231 kB / 366.2 MB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007674/0.05233, allocations: 7.71 MB / 373.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.05254, allocations: 350 kB / 374.3 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.05277, allocations: 98.44 kB / 374.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.05304, allocations: 304.4 kB / 374.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.05304, allocations: 0 / 374.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.0901, allocations: 27.61 MB / 402.3 MB, free: 152 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.663/8.753, allocations: 3.938 kB / 402.3 MB, free: 148 kB / 362.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.465287761762738]