Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001522/0.001522, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 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.0017/0.0017, allocations: 208 kB / 24.47 MB, free: 3.801 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.7 MB / 235.3 MB, free: 9.824 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 55.92 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3045, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.00524/0.3097, allocations: 4.404 MB / 400.8 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.312, allocations: 1.288 MB / 402 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003935/0.3124, allocations: 13.34 kB / 402.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.3129, allocations: 158.9 kB / 402.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007475/0.3136, allocations: 328.3 kB / 402.5 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.3142, allocations: 231.9 kB / 402.8 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.3154, allocations: 1.157 MB / 403.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.3157, allocations: 220.4 kB / 404.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005284/0.3162, allocations: 459.5 kB / 404.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005207/0.3168, allocations: 433.2 kB / 405 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001501/0.3169, allocations: 101.8 kB / 405.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3171, allocations: 103.9 kB / 405.2 MB, free: 3.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.3173, allocations: 220.3 kB / 405.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.3177, allocations: 453.3 kB / 405.9 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001228/0.3189, allocations: 1.194 MB / 407.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3189, allocations: 0 / 407.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3189, allocations: 0 / 407.1 MB, free: 2.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.23e-05/0.3189, allocations: 0 / 407.1 MB, free: 2.598 MB / 318.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.00228/0.3212, allocations: 1.255 MB / 408.3 MB, free: 1.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3212, allocations: 17.55 kB / 408.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001723/0.3214, allocations: 125.1 kB / 408.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001935/0.3216, allocations: 115.7 kB / 408.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.3225, allocations: 0.4949 MB / 409.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.3227, allocations: 302.5 kB / 409.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/0.3228, allocations: 63.52 kB / 409.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001593/0.3244, allocations: 1.623 MB / 411 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.3244, allocations: 0 / 411 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.556e-05/0.3245, allocations: 32.84 kB / 411.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3245, allocations: 17.89 kB / 411.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3257, allocations: 0.5529 MB / 411.6 MB, free: 15.14 MB / 334.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.003606/0.3293, allocations: 1.685 MB / 413.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/0.331, allocations: 0.6859 MB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007094/0.3318, allocations: 335.4 kB / 414.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.557e-05/0.3318, allocations: 15.42 kB / 414.4 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.3319, allocations: 51.2 kB / 414.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.805e-06/0.3319, allocations: 3.938 kB / 414.4 MB, free: 13.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004999/0.3369, allocations: 1.441 MB / 415.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004675/0.3373, allocations: 0.8238 MB / 416.7 MB, free: 11.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009502/0.3383, allocations: 0.6408 MB / 417.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.3384, allocations: 45.58 kB / 417.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.3387, allocations: 339.5 kB / 417.7 MB, free: 10.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.339, allocations: 264.3 kB / 417.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002543/0.3392, allocations: 146.7 kB / 418.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.3395, allocations: 383.9 kB / 418.5 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.3402, allocations: 331.1 kB / 418.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.3416, allocations: 1.361 MB / 420.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3428, allocations: 0.6351 MB / 420.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3428, allocations: 0 / 420.8 MB, free: 8.195 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002729/0.3456, allocations: 1.132 MB / 421.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.3456, allocations: 87.52 kB / 422 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3456, allocations: 1.219 kB / 422 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007588/0.3464, allocations: 227.9 kB / 422.2 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006331/0.347, allocations: 129.2 kB / 422.4 MB, free: 7.242 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009269/0.3563, allocations: 6.477 MB / 428.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3576, allocations: 95.52 kB / 428.9 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.361e-05/0.3577, allocations: 23.98 kB / 428.9 MB, free: 0.9023 MB / 334.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.0006069/0.3583, allocations: 225.8 kB / 429.2 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3585, allocations: 95.42 kB / 429.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.3587, allocations: 87.34 kB / 429.3 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3587, allocations: 8 kB / 429.4 MB, free: 488 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.3588, allocations: 3.984 kB / 429.4 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00247/0.3612, allocations: 1.182 MB / 430.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003885/0.3651, allocations: 1.687 MB / 432.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3651, allocations: 0 / 432.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006305/0.3657, allocations: 131.9 kB / 432.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000562/0.3663, allocations: 194.5 kB / 432.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.3664, allocations: 20 kB / 432.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006627/0.373, allocations: 4.969 MB / 437.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.373, allocations: 192 / 437.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00325/0.3762, allocations: 1.309 MB / 438.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006265/0.3769, allocations: 163.3 kB / 439 MB, free: 6.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.377, allocations: 20 kB / 439 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006259/0.3776, allocations: 43.91 kB / 439.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/0.3778, allocations: 68.47 kB / 439.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.3779, allocations: 16 kB / 439.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.3786, allocations: 463 kB / 439.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3786, allocations: 0 / 439.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001042/0.3796, allocations: 291.7 kB / 439.9 MB, free: 5.391 MB / 350.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.003433/0.383, allocations: 1.888 MB / 441.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002359/0.3854, allocations: 1.326 MB / 443.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/0.3854, allocations: 4 kB / 443.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.3865, allocations: 0.6795 MB / 443.8 MB, free: 1.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3876, allocations: 234.9 kB / 444 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.4014, allocations: 7.747 MB / 451.8 MB, free: 9.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004464/0.4018, allocations: 350 kB / 452.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005222/0.4023, allocations: 110.4 kB / 452.2 MB, free: 8.574 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004554/0.4028, allocations: 291.3 kB / 452.5 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.4028, allocations: 0 / 452.5 MB, free: 8.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09536/0.4981, allocations: 27.56 MB / 480.1 MB, free: 12.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.48, allocations: 64 / 480.1 MB, free: 12.6 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable heatCapacitor2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable heatCapacitor2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe2.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe2.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! Error: Could not read variable pipe3.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv. Warning: Get data of variable pipe3.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.00626896508038]