Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001566/0.001566, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.00149/0.00149, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 55.92 kB / 377.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2591, allocations: 53.37 MB / 431.1 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006735/0.2659, allocations: 4.425 MB / 435.5 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003165/0.269, allocations: 1.262 MB / 436.8 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.2695, allocations: 15.94 kB / 436.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005269/0.2701, allocations: 162.6 kB / 436.9 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008609/0.2709, allocations: 333.2 kB / 437.3 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.2715, allocations: 215.7 kB / 437.5 MB, free: 168 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.2731, allocations: 1.157 MB / 438.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.2736, allocations: 222.5 kB / 438.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.2744, allocations: 466.4 kB / 439.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007196/0.2751, allocations: 441.9 kB / 439.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.2753, allocations: 100 kB / 439.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.2755, allocations: 104 kB / 439.9 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.2757, allocations: 219.3 kB / 440.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.2762, allocations: 442.2 kB / 440.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.2776, allocations: 1.195 MB / 441.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2776, allocations: 0 / 441.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2776, allocations: 0 / 441.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.918e-05/0.2776, allocations: 0 / 441.8 MB, free: 11.83 MB / 350.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.002648/0.2802, allocations: 1.269 MB / 443.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.2803, allocations: 12.03 kB / 443.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001965/0.2805, allocations: 119.9 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.2807, allocations: 112.3 kB / 443.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009992/0.2817, allocations: 0.4915 MB / 443.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/0.282, allocations: 309.2 kB / 444.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2821, allocations: 60.38 kB / 444.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.284, allocations: 1.612 MB / 445.8 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/0.284, allocations: 3.953 kB / 445.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.2841, allocations: 32 kB / 445.8 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2841, allocations: 19.94 kB / 445.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.2854, allocations: 0.5634 MB / 446.4 MB, free: 6.812 MB / 350.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.003557/0.2889, allocations: 1.686 MB / 448.1 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.2907, allocations: 0.6933 MB / 448.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007071/0.2914, allocations: 334.4 kB / 449.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.356e-05/0.2915, allocations: 16.59 kB / 449.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/0.2915, allocations: 59.08 kB / 449.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.745e-06/0.2915, allocations: 0 / 449.2 MB, free: 3.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004877/0.2964, allocations: 1.426 MB / 450.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004897/0.2969, allocations: 0.8234 MB / 451.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009656/0.2979, allocations: 0.6449 MB / 452 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.298, allocations: 45.7 kB / 452.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.2983, allocations: 341.4 kB / 452.4 MB, free: 472 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.2986, allocations: 273.7 kB / 452.7 MB, free: 196 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.2988, allocations: 142.7 kB / 452.8 MB, free: 48 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.2991, allocations: 386.8 kB / 453.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000623/0.2997, allocations: 327 kB / 453.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.301, allocations: 1.36 MB / 454.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.3023, allocations: 0.6427 MB / 455.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3023, allocations: 0 / 455.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002739/0.305, allocations: 1.123 MB / 456.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.268e-05/0.3051, allocations: 93.09 kB / 456.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3051, allocations: 0 / 456.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007565/0.3059, allocations: 235.2 kB / 457 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.3065, allocations: 127.9 kB / 457.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008844/0.3153, allocations: 6.474 MB / 463.6 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.3163, allocations: 103.5 kB / 463.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.3163, allocations: 20 kB / 463.7 MB, free: 4.281 MB / 366.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.0004174/0.3168, allocations: 221.7 kB / 463.9 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3169, allocations: 95.42 kB / 464 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.3171, allocations: 87.34 kB / 464.1 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.3171, allocations: 8 kB / 464.1 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3171, allocations: 4 kB / 464.1 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002403/0.3195, allocations: 1.178 MB / 465.3 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003971/0.3235, allocations: 1.687 MB / 467 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3235, allocations: 3.938 kB / 467 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006547/0.3242, allocations: 131.8 kB / 467.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/0.3247, allocations: 194.6 kB / 467.3 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.3248, allocations: 19.98 kB / 467.3 MB, free: 468 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006993/0.3318, allocations: 4.962 MB / 472.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3318, allocations: 0 / 472.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003438/0.3352, allocations: 1.313 MB / 473.6 MB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006056/0.3358, allocations: 167.3 kB / 473.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.336, allocations: 16 kB / 473.8 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/0.3366, allocations: 39.91 kB / 473.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.3368, allocations: 68.48 kB / 473.9 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.049e-05/0.3369, allocations: 19.98 kB / 473.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006806/0.3376, allocations: 455.1 kB / 474.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3376, allocations: 0 / 474.3 MB, free: 9.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00099/0.3386, allocations: 283.8 kB / 474.6 MB, free: 8.789 MB / 382.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.003536/0.3421, allocations: 1.888 MB / 476.5 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3446, allocations: 1.341 MB / 477.8 MB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/0.3446, allocations: 4 kB / 477.8 MB, free: 5.406 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.3458, allocations: 0.6716 MB / 478.5 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.347, allocations: 234.9 kB / 478.7 MB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.361, allocations: 7.747 MB / 486.5 MB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.3614, allocations: 354 kB / 486.8 MB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005052/0.3619, allocations: 98.44 kB / 486.9 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.3623, allocations: 307.2 kB / 487.2 MB, free: 11.67 MB / 398.1 MB Notification: Performance of SimCode: time 1.482e-06/0.3623, allocations: 0 / 487.2 MB, free: 11.67 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07739/0.4397, allocations: 27.57 MB / 0.5027 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.23, allocations: 10.94 kB / 0.5027 GB, free: 0.5898 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.728183280210942]