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.0008199/0.0008199, allocations: 80.36 kB / 20.67 MB, free: 3.891 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.001332/0.001332, allocations: 160.9 kB / 23.95 MB, free: 0.6133 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.8896/0.8896, allocations: 177 MB / 204.1 MB, free: 5.707 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 2.765e-06/2.765e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.627e-05, allocations: 3.266 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004264/0.00429, allocations: 4.432 MB / 328.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.006391, allocations: 1.269 MB / 330.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.006765, allocations: 19.88 kB / 330.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.007152, allocations: 154.6 kB / 330.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006121/0.007764, allocations: 348.9 kB / 330.7 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.008262, allocations: 231.5 kB / 330.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.009508, allocations: 1.199 MB / 332.1 MB, free: 8.195 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003482/0.009856, allocations: 226.4 kB / 332.4 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008611/0.01072, allocations: 0.6666 MB / 333 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.01121, allocations: 375 kB / 333.4 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.01134, allocations: 100 kB / 333.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.01146, allocations: 104 kB / 333.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.01157, allocations: 227.2 kB / 333.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003019/0.01188, allocations: 387.2 kB / 334.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009926/0.01287, allocations: 1.227 MB / 335.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.01287, allocations: 0 / 335.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01288, allocations: 0 / 335.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.535e-05/0.01291, allocations: 0 / 335.4 MB, free: 4.895 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.001847/0.01476, allocations: 1.261 MB / 336.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.0148, allocations: 11.98 kB / 336.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000139/0.01494, allocations: 119.9 kB / 336.8 MB, free: 3.441 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.01509, allocations: 116.3 kB / 336.9 MB, free: 3.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007087/0.0158, allocations: 0.5023 MB / 337.4 MB, free: 2.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.01601, allocations: 301.2 kB / 337.7 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/0.01608, allocations: 60.38 kB / 337.8 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.01727, allocations: 1.616 MB / 339.4 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.01729, allocations: 8.188 kB / 339.4 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.844e-05/0.01733, allocations: 31.94 kB / 339.4 MB, free: 460 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.01735, allocations: 12 kB / 339.5 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/0.01814, allocations: 0.5595 MB / 340 MB, free: 15.88 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.002242/0.02038, allocations: 1.678 MB / 341.7 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.02146, allocations: 0.7006 MB / 342.4 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004322/0.0219, allocations: 334.7 kB / 342.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.02194, allocations: 20.64 kB / 342.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.02197, allocations: 43.22 kB / 342.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/0.02197, allocations: 0 / 342.8 MB, free: 13.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=73): time 0.002526/0.0245, allocations: 1.429 MB / 344.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002336/0.02473, allocations: 0.8234 MB / 345 MB, free: 10.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.02526, allocations: 0.6526 MB / 345.7 MB, free: 9.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.797e-05/0.02531, allocations: 41.7 kB / 345.7 MB, free: 9.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.02549, allocations: 341.4 kB / 346.1 MB, free: 9.527 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.02563, allocations: 257.7 kB / 346.3 MB, free: 9.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.02579, allocations: 150.6 kB / 346.5 MB, free: 9.121 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.02591, allocations: 390.9 kB / 346.8 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.02628, allocations: 326.9 kB / 347.2 MB, free: 8.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.02701, allocations: 1.36 MB / 348.5 MB, free: 6.723 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000715/0.02773, allocations: 0.6388 MB / 349.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.02773, allocations: 0 / 349.2 MB, free: 6.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001399/0.02913, allocations: 1.123 MB / 350.3 MB, free: 4.879 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.02918, allocations: 85.11 kB / 350.4 MB, free: 4.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.02919, allocations: 8 kB / 350.4 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.02962, allocations: 235.2 kB / 350.6 MB, free: 4.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.02991, allocations: 131.8 kB / 350.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004806/0.03472, allocations: 6.464 MB / 357.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.03531, allocations: 91.52 kB / 357.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.03535, allocations: 32.05 kB / 357.3 MB, free: 13.35 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.0003024/0.03565, allocations: 213.7 kB / 357.5 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.03575, allocations: 91.48 kB / 357.6 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.03586, allocations: 99.27 kB / 357.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.03586, allocations: 4.234 kB / 357.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.03587, allocations: 0 / 357.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.03712, allocations: 1.182 MB / 358.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.03927, allocations: 1.687 MB / 360.6 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.03927, allocations: 4.172 kB / 360.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.03959, allocations: 127.9 kB / 360.7 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.03993, allocations: 198.3 kB / 360.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.03997, allocations: 19.94 kB / 360.9 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003458/0.04343, allocations: 4.959 MB / 365.9 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04343, allocations: 4.188 kB / 365.9 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.04511, allocations: 1.317 MB / 367.2 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.04537, allocations: 159.3 kB / 367.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.04543, allocations: 20 kB / 367.4 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003165/0.04575, allocations: 47.91 kB / 367.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.04589, allocations: 68.41 kB / 367.5 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.719e-05/0.04592, allocations: 20 kB / 367.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004018/0.04632, allocations: 459 kB / 368 MB, free: 2.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.04632, allocations: 0 / 368 MB, free: 2.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.04701, allocations: 287.8 kB / 368.2 MB, free: 1.848 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.001953/0.04897, allocations: 1.883 MB / 370.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001485/0.05045, allocations: 1.329 MB / 371.5 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.05046, allocations: 4 kB / 371.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006281/0.05108, allocations: 0.6717 MB / 372.1 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006502/0.05173, allocations: 227 kB / 372.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.06043, allocations: 7.719 MB / 380.1 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.06068, allocations: 350 kB / 380.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003389/0.06102, allocations: 110.4 kB / 380.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.06128, allocations: 296.4 kB / 380.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.06129, allocations: 0 / 380.8 MB, free: 4.801 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04782/0.1091, allocations: 27.6 MB / 408.4 MB, free: 9.598 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/8.415, allocations: 8.016 kB / 408.4 MB, free: 9.59 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 & python3 -m fmpy simulate --output-file Modelica_trunk_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_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.csv","/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] "Error: Could not read variable heatCapacitor1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.189992473460734]