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.001301/0.001301, allocations: 112.2 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001311/0.001311, allocations: 180.5 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.4/1.4, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001538/0.001538, allocations: 51.92 kB / 370.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2505, allocations: 52.17 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006389/0.2568, allocations: 4.982 MB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.2591, allocations: 1.289 MB / 428.9 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002697/0.2594, allocations: 15.94 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.2599, allocations: 166.5 kB / 429.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006155/0.2605, allocations: 329.2 kB / 429.4 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/0.2609, allocations: 227.6 kB / 429.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.2621, allocations: 1.16 MB / 430.8 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003702/0.2625, allocations: 231.6 kB / 431 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000468/0.263, allocations: 454.5 kB / 431.4 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006389/0.2636, allocations: 0.5018 MB / 432 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.2638, allocations: 100 kB / 432 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.2639, allocations: 104 kB / 432.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.2641, allocations: 219.3 kB / 432.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.2646, allocations: 0.5172 MB / 432.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.2659, allocations: 1.182 MB / 434.1 MB, free: 3.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2659, allocations: 4 kB / 434.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2659, allocations: 0 / 434.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.2659, allocations: 0 / 434.1 MB, free: 3.105 MB / 334.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.002489/0.2684, allocations: 1.261 MB / 435.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.2684, allocations: 12.03 kB / 435.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002089/0.2686, allocations: 123.9 kB / 435.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001971/0.2688, allocations: 116.3 kB / 435.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.2698, allocations: 0.4953 MB / 436.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.2702, allocations: 301.2 kB / 436.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.2703, allocations: 64.38 kB / 436.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.2717, allocations: 0.8625 MB / 437.3 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.2717, allocations: 4 kB / 437.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.2718, allocations: 28 kB / 437.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.2718, allocations: 12 kB / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.273, allocations: 0.5712 MB / 437.9 MB, free: 15.02 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.003601/0.2766, allocations: 2.085 MB / 440 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.2783, allocations: 0.7021 MB / 440.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006552/0.2789, allocations: 339.2 kB / 441 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.279, allocations: 16.7 kB / 441 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.2791, allocations: 59.16 kB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.354e-06/0.2791, allocations: 0 / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004613/0.2837, allocations: 1.426 MB / 442.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004274/0.2841, allocations: 0.8234 MB / 443.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/0.2849, allocations: 0.6449 MB / 444 MB, free: 8.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/0.285, allocations: 45.64 kB / 444 MB, free: 8.551 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.2853, allocations: 349.3 kB / 444.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/0.2855, allocations: 265.7 kB / 444.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002335/0.2857, allocations: 150.6 kB / 444.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.2859, allocations: 386.8 kB / 445.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005414/0.2865, allocations: 249.9 kB / 445.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008117/0.2873, allocations: 0.5156 MB / 445.9 MB, free: 6.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.2884, allocations: 0.6388 MB / 446.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.2884, allocations: 0 / 446.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002395/0.2908, allocations: 1.044 MB / 447.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.527e-05/0.2909, allocations: 85.09 kB / 447.7 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.2909, allocations: 4 kB / 447.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006837/0.2916, allocations: 235.2 kB / 447.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.2922, allocations: 127.9 kB / 448 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/0.3002, allocations: 6.518 MB / 454.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007525/0.301, allocations: 95.52 kB / 454.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.115e-05/0.301, allocations: 20 kB / 454.7 MB, free: 13.23 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.0003388/0.3013, allocations: 220.3 kB / 454.9 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.3015, allocations: 95.38 kB / 455 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.3017, allocations: 107.3 kB / 455.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3017, allocations: 8 kB / 455.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3017, allocations: 240 / 455.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002246/0.3039, allocations: 1.178 MB / 456.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/0.3075, allocations: 1.846 MB / 458.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.3075, allocations: 64 / 458.1 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006335/0.3081, allocations: 131.8 kB / 458.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005412/0.3087, allocations: 198.4 kB / 458.4 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/0.3087, allocations: 12 kB / 458.5 MB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006121/0.3148, allocations: 5.009 MB / 463.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3148, allocations: 0 / 463.5 MB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002831/0.3177, allocations: 1.305 MB / 464.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/0.318, allocations: 179.1 kB / 464.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3181, allocations: 20 kB / 465 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005776/0.3187, allocations: 43.91 kB / 465 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.3188, allocations: 60.55 kB / 465.1 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.3189, allocations: 23.92 kB / 465.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.3194, allocations: 459.1 kB / 465.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3194, allocations: 0 / 465.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008418/0.3203, allocations: 283.8 kB / 465.8 MB, free: 1.52 MB / 366.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.003135/0.3234, allocations: 1.884 MB / 467.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.3254, allocations: 1.254 MB / 469 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3254, allocations: 4 kB / 469 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000947/0.3263, allocations: 0.6714 MB / 469.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009292/0.3272, allocations: 239.3 kB / 469.9 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01223/0.3395, allocations: 7.434 MB / 477.3 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.3401, allocations: 0.9401 MB / 478.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.3405, allocations: 110.4 kB / 478.3 MB, free: 4.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003932/0.3409, allocations: 295.3 kB / 478.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3409, allocations: 0 / 478.6 MB, free: 4.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0913/0.4322, allocations: 26.11 MB / 0.4929 GB, free: 10.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.62, allocations: 7.188 kB / 0.4929 GB, free: 10.6 MB / 414.1 MB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/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: 17.057472533997498]