Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.0008441/0.0008441, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000878/0.000878, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8739/0.8739, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.301e-05/1.473e-05, allocations: 6.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003333/0.003348, allocations: 3.212 MB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.004513, allocations: 0.9423 MB / 328.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.004675, allocations: 7.938 kB / 328.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.00493, allocations: 107.1 kB / 328.8 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.005203, allocations: 202.2 kB / 329 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.005387, allocations: 123.8 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000466/0.005853, allocations: 0.6658 MB / 329.8 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.006064, allocations: 119.5 kB / 329.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.006322, allocations: 379.2 kB / 330.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.00652, allocations: 191.5 kB / 330.5 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.112e-05/0.006571, allocations: 55.98 kB / 330.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.00662, allocations: 56 kB / 330.6 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.006683, allocations: 119.5 kB / 330.7 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.00681, allocations: 207.6 kB / 330.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004378/0.007248, allocations: 0.6698 MB / 331.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.00725, allocations: 0 / 331.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007251, allocations: 3.938 kB / 331.6 MB, free: 8.883 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.007257, allocations: 0 / 331.6 MB, free: 8.883 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0008852/0.008142, allocations: 0.7704 MB / 332.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.00818, allocations: 12.03 kB / 332.4 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.676e-05/0.008266, allocations: 87.61 kB / 332.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.008337, allocations: 64.56 kB / 332.5 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.008715, allocations: 344.7 kB / 332.8 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.477e-05/0.008799, allocations: 110.7 kB / 333 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.008836, allocations: 32.38 kB / 333 MB, free: 7.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00087/0.009706, allocations: 0.84 MB / 333.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.009719, allocations: 192 / 333.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.009746, allocations: 15.94 kB / 333.8 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.009753, allocations: 8 kB / 333.9 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.01011, allocations: 287.8 kB / 334.1 MB, free: 6.094 MB / 298.7 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.001242/0.01135, allocations: 1.031 MB / 335.2 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006454/0.01199, allocations: 347.1 kB / 335.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.01215, allocations: 124.9 kB / 335.6 MB, free: 4.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.01218, allocations: 7.938 kB / 335.6 MB, free: 4.527 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.0122, allocations: 38.56 kB / 335.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.292e-06/0.0122, allocations: 0 / 335.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006638/0.01286, allocations: 463.4 kB / 336.1 MB, free: 4.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.01299, allocations: 449 kB / 336.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.01331, allocations: 457.8 kB / 337 MB, free: 3.012 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.01334, allocations: 33.7 kB / 337 MB, free: 2.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.01345, allocations: 236.6 kB / 337.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.01351, allocations: 111 kB / 337.4 MB, free: 2.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/0.01359, allocations: 77.97 kB / 337.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.01369, allocations: 358.8 kB / 337.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.01385, allocations: 134.3 kB / 337.9 MB, free: 2.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003229/0.01417, allocations: 0.6516 MB / 338.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.01447, allocations: 281.2 kB / 338.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01447, allocations: 0 / 338.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004333/0.0149, allocations: 450.3 kB / 339.3 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.01493, allocations: 33.7 kB / 339.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01494, allocations: 0 / 339.3 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001155/0.01505, allocations: 45.69 kB / 339.4 MB, free: 412 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.01521, allocations: 75.92 kB / 339.5 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.01687, allocations: 2.761 MB / 342.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.01705, allocations: 43.95 kB / 342.3 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.01707, allocations: 16 kB / 342.3 MB, free: 13.28 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.01719, allocations: 162.8 kB / 342.4 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.01724, allocations: 55.67 kB / 342.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.01729, allocations: 52.69 kB / 342.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.0173, allocations: 0 / 342.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.0173, allocations: 7.938 kB / 342.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003976/0.0177, allocations: 0.6453 MB / 343.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007339/0.01843, allocations: 0.7937 MB / 344 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01843, allocations: 0 / 344 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.0186, allocations: 71.83 kB / 344.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.0186, allocations: 0 / 344.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.01862, allocations: 12 kB / 344.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01862, allocations: 3.984 kB / 344.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01862, allocations: 0 / 344.1 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005032/0.01913, allocations: 0.5176 MB / 344.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.01923, allocations: 99.44 kB / 344.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.328e-05/0.01927, allocations: 8 kB / 344.7 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.01941, allocations: 15.98 kB / 344.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.01944, allocations: 19.97 kB / 344.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01945, allocations: 4 kB / 344.7 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.01968, allocations: 331.1 kB / 345.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01968, allocations: 0 / 345.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002567/0.01993, allocations: 131.9 kB / 345.2 MB, free: 10.19 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006928/0.02063, allocations: 1.068 MB / 346.3 MB, free: 9.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005416/0.02117, allocations: 0.5766 MB / 346.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.02117, allocations: 0 / 346.8 MB, free: 8.469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.0213, allocations: 123.9 kB / 347 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.02169, allocations: 137.8 kB / 347.1 MB, free: 8.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.02553, allocations: 4.337 MB / 351.4 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.02566, allocations: 220.3 kB / 351.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001529/0.02582, allocations: 60.34 kB / 351.7 MB, free: 3.441 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.02598, allocations: 164.4 kB / 351.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of SimCode: time 7.11e-07/0.02598, allocations: 0 / 351.9 MB, free: 3.281 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.05212, allocations: 14.47 MB / 366.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.222/8.274, allocations: 8.062 kB / 366.3 MB, free: 5.109 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_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_SimpleCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! Error: Could not read variable pipe.T in file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv. Warning: Get data of variable pipe.T from file Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.98543157055974]