Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001867/0.001867, allocations: 107.6 kB / 21.18 MB, free: 452 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.00317/0.00317, allocations: 216.1 kB / 24.47 MB, free: 3.777 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.614/1.614, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.002353/0.002353, allocations: 66.5 kB / 347.2 MB, free: 9.973 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2791, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005649/0.2848, allocations: 4.959 MB / 401.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2876, allocations: 1.422 MB / 402.7 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003528/0.2879, allocations: 13.81 kB / 402.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004461/0.2884, allocations: 203 kB / 402.9 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.289, allocations: 400.2 kB / 403.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.2895, allocations: 257.1 kB / 403.6 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.2907, allocations: 1.356 MB / 404.9 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004364/0.2912, allocations: 261 kB / 405.2 MB, free: 3.137 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.2918, allocations: 0.5267 MB / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.2925, allocations: 0.5036 MB / 406.2 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.2927, allocations: 121.2 kB / 406.3 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.2929, allocations: 121.3 kB / 406.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.2931, allocations: 253.9 kB / 406.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004757/0.2936, allocations: 0.5126 MB / 407.2 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.295, allocations: 1.412 MB / 408.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.295, allocations: 4 kB / 408.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.295, allocations: 1.25 kB / 408.6 MB, free: 1.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.2951, allocations: 3.938 kB / 408.6 MB, free: 1.668 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002356/0.2974, allocations: 1.442 MB / 410.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2975, allocations: 14.08 kB / 410.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001681/0.2976, allocations: 131.3 kB / 410.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.2978, allocations: 138.1 kB / 410.4 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009722/0.2988, allocations: 0.5815 MB / 410.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.2991, allocations: 312.5 kB / 411.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.2992, allocations: 71.97 kB / 411.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.3013, allocations: 1.871 MB / 413.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.3014, allocations: 4 kB / 413.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/0.3014, allocations: 34.22 kB / 413.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.972e-05/0.3015, allocations: 16.34 kB / 413.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3028, allocations: 0.6218 MB / 413.9 MB, free: 13.46 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.004065/0.3068, allocations: 1.985 MB / 415.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.3093, allocations: 0.7531 MB / 416.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/0.31, allocations: 318 kB / 416.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.85e-05/0.3101, allocations: 17.95 kB / 416.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.3101, allocations: 51.56 kB / 417 MB, free: 11.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.835e-06/0.3101, allocations: 0 / 417 MB, free: 11.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002489/0.3126, allocations: 1.02 MB / 418 MB, free: 10.96 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005189/0.3131, allocations: 0.95 MB / 419 MB, free: 9.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3142, allocations: 0.7937 MB / 419.7 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.485e-05/0.3142, allocations: 45.73 kB / 419.8 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.3146, allocations: 422.8 kB / 420.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002626/0.3149, allocations: 272.2 kB / 420.5 MB, free: 8.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/0.3151, allocations: 164.3 kB / 420.6 MB, free: 8.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3153, allocations: 336.7 kB / 421 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.3159, allocations: 337.1 kB / 421.3 MB, free: 8.059 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001434/0.3173, allocations: 1.549 MB / 422.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/0.3186, allocations: 0.6609 MB / 423.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.3186, allocations: 0 / 423.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001922/0.3205, allocations: 1.035 MB / 424.5 MB, free: 5.281 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.3206, allocations: 92.81 kB / 424.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3206, allocations: 1.188 kB / 424.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003466/0.3209, allocations: 119.7 kB / 424.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.3216, allocations: 154.5 kB / 424.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006177/0.3278, allocations: 6.772 MB / 431.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.329, allocations: 107.5 kB / 431.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/0.3291, allocations: 27.98 kB / 431.8 MB, free: 13.73 MB / 350.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.0004852/0.3296, allocations: 237.7 kB / 432 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.3297, allocations: 107.3 kB / 432.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.33, allocations: 100.9 kB / 432.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.33, allocations: 15.88 kB / 432.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.33, allocations: 0 / 432.3 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001452/0.3314, allocations: 0.9739 MB / 433.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.3344, allocations: 1.549 MB / 434.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.3344, allocations: 0 / 434.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.3352, allocations: 151.8 kB / 434.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.3353, allocations: 32.77 kB / 435 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.3353, allocations: 19.98 kB / 435 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0012/0.3365, allocations: 1.303 MB / 436.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3365, allocations: 0 / 436.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.3386, allocations: 1.074 MB / 437.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/0.3391, allocations: 183.2 kB / 437.5 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.3392, allocations: 20 kB / 437.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.3399, allocations: 43.95 kB / 437.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.803e-05/0.34, allocations: 44.52 kB / 437.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.3401, allocations: 19.98 kB / 437.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.3409, allocations: 0.5536 MB / 438.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3409, allocations: 0 / 438.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009705/0.3419, allocations: 299.7 kB / 438.5 MB, free: 6.699 MB / 350.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.002445/0.3443, allocations: 1.653 MB / 440.2 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.3467, allocations: 1.434 MB / 441.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.3467, allocations: 4 kB / 441.6 MB, free: 3.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007258/0.3474, allocations: 406.5 kB / 442 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3486, allocations: 278.8 kB / 442.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.3621, allocations: 8.152 MB / 450.4 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3626, allocations: 398.2 kB / 450.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006418/0.3632, allocations: 131.5 kB / 450.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/0.3638, allocations: 355.3 kB / 451.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3638, allocations: 0 / 451.3 MB, free: 9.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/0.442, allocations: 29.39 MB / 480.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.56, allocations: 15.83 kB / 480.7 MB, free: 11.91 MB / 398.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable innerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable innerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable outerPipe.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable outerPipe.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! Error: Could not read variable pipe1.T in file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv. Warning: Get data of variable pipe1.T from file Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.258269781712443]