Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001581/0.001581, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001891/0.001891, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.457/1.457, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1018, allocations: 53.32 MB / 426.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2003/0.3021, allocations: 5.64 MB / 431.9 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003098/0.3052, allocations: 1.463 MB / 433.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.3056, allocations: 13.88 kB / 433.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004464/0.306, allocations: 203 kB / 433.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006532/0.3067, allocations: 394.5 kB / 434 MB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004162/0.3071, allocations: 255.4 kB / 434.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3082, allocations: 1.372 MB / 435.6 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004079/0.3086, allocations: 277.3 kB / 435.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005747/0.3092, allocations: 0.5224 MB / 436.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006664/0.3099, allocations: 0.5867 MB / 437 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.3101, allocations: 117.3 kB / 437.1 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.3103, allocations: 120.5 kB / 437.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002063/0.3105, allocations: 258.2 kB / 437.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000525/0.311, allocations: 0.6075 MB / 438.1 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.3126, allocations: 1.401 MB / 439.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3126, allocations: 0 / 439.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3126, allocations: 4 kB / 439.5 MB, free: 5.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.3126, allocations: 1.125 kB / 439.5 MB, free: 5.426 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002644/0.3153, allocations: 1.513 MB / 441 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3153, allocations: 17.78 kB / 441 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/0.3155, allocations: 134.6 kB / 441.2 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002717/0.3158, allocations: 137.5 kB / 441.3 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.3169, allocations: 0.6396 MB / 441.9 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.3171, allocations: 152.4 kB / 442.1 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.3172, allocations: 72.83 kB / 442.2 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.3187, allocations: 0.9794 MB / 443.1 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.3187, allocations: 0.5625 kB / 443.1 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.3188, allocations: 34.09 kB / 443.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.3188, allocations: 21.02 kB / 443.2 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.3201, allocations: 0.6286 MB / 443.8 MB, free: 2.766 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.004123/0.3242, allocations: 2.651 MB / 446.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.3269, allocations: 0.8233 MB / 447.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/0.3276, allocations: 321.2 kB / 447.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.251e-05/0.3276, allocations: 18.78 kB / 447.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3277, allocations: 46.38 kB / 447.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.066e-06/0.3277, allocations: 1.969 kB / 447.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002755/0.3304, allocations: 1.401 MB / 449.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005601/0.331, allocations: 0.9511 MB / 450 MB, free: 14.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.3322, allocations: 0.7839 MB / 450.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3323, allocations: 46.36 kB / 450.9 MB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.3327, allocations: 432.7 kB / 451.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.3329, allocations: 262.3 kB / 451.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.3332, allocations: 163.7 kB / 451.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3334, allocations: 337.7 kB / 452 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.334, allocations: 254 kB / 452.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009534/0.3349, allocations: 0.581 MB / 452.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.3362, allocations: 0.6633 MB / 453.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3362, allocations: 1.375 kB / 453.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001924/0.3381, allocations: 0.9557 MB / 454.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.3382, allocations: 90.28 kB / 454.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.3382, allocations: 1.219 kB / 454.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003563/0.3386, allocations: 126.7 kB / 454.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/0.3393, allocations: 150.3 kB / 454.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006628/0.3459, allocations: 7.329 MB / 462.2 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.3471, allocations: 110.2 kB / 462.3 MB, free: 4.348 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.874e-05/0.3471, allocations: 26.72 kB / 462.3 MB, free: 4.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004675/0.3476, allocations: 237 kB / 462.5 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.3478, allocations: 109 kB / 462.6 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002166/0.348, allocations: 103 kB / 462.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.348, allocations: 9.938 kB / 462.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.3481, allocations: 1.125 kB / 462.7 MB, free: 4.023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001519/0.3496, allocations: 0.9702 MB / 463.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003195/0.3528, allocations: 1.753 MB / 465.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.3528, allocations: 0 / 465.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.3536, allocations: 151.7 kB / 465.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.3537, allocations: 29.77 kB / 465.6 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.3537, allocations: 14.38 kB / 465.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/0.3549, allocations: 1.406 MB / 467.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3549, allocations: 0 / 467.1 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.3572, allocations: 1.078 MB / 468.1 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.3579, allocations: 262.9 kB / 468.4 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.358, allocations: 35.8 kB / 468.4 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.3587, allocations: 35.12 kB / 468.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.3589, allocations: 49.53 kB / 468.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3589, allocations: 17.19 kB / 468.5 MB, free: 15.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008759/0.3598, allocations: 0.5501 MB / 469.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3598, allocations: 0 / 469.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001066/0.3608, allocations: 294.1 kB / 469.4 MB, free: 15.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002688/0.3635, allocations: 1.655 MB / 471 MB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.366, allocations: 1.365 MB / 472.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.366, allocations: 2.5 kB / 472.4 MB, free: 13.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007587/0.3668, allocations: 397.9 kB / 472.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.3683, allocations: 281.4 kB / 473.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/0.3817, allocations: 7.85 MB / 480.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.3823, allocations: 0.9836 MB / 481.9 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000663/0.383, allocations: 127.5 kB / 482 MB, free: 6.496 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/0.3835, allocations: 355.3 kB / 482.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3835, allocations: 0 / 482.4 MB, free: 6.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07153/0.4551, allocations: 26.46 MB / 0.4969 GB, free: 12.16 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.54, allocations: 8.562 kB / 0.4969 GB, free: 12.16 MB / 414.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable heatCapacitor.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.09697809899808]