Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.0008085/0.0008085, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008501/0.0008501, allocations: 170.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.8629/0.8629, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.918e-05, allocations: 2.281 kB / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002455/0.002475, allocations: 2.408 MB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.00329, allocations: 0.6511 MB / 327.6 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.003392, allocations: 7.938 kB / 327.6 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.003517, allocations: 35.64 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.615e-05/0.003614, allocations: 67.36 kB / 327.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.003841, allocations: 75.77 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.004056, allocations: 274.6 kB / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.004207, allocations: 71.94 kB / 328.1 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001279/0.004335, allocations: 143.7 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.004439, allocations: 79.72 kB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.004466, allocations: 20 kB / 328.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.263e-05/0.004529, allocations: 28 kB / 328.4 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.396e-05/0.004563, allocations: 55.81 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.00462, allocations: 83.77 kB / 328.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.004865, allocations: 267.1 kB / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.004869, allocations: 0 / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00487, allocations: 0 / 328.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.004874, allocations: 0 / 328.8 MB, free: 11.68 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006277/0.005502, allocations: 481.7 kB / 329.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.005538, allocations: 12.03 kB / 329.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.999e-05/0.005608, allocations: 51.23 kB / 329.3 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.005689, allocations: 32.75 kB / 329.4 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.005931, allocations: 182.8 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.005945, allocations: 12.88 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.005974, allocations: 28.38 kB / 329.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.006283, allocations: 257 kB / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.006294, allocations: 192 / 329.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.006312, allocations: 16.12 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.006319, allocations: 4 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.006552, allocations: 161.9 kB / 330 MB, free: 10.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.007365, allocations: 0.7321 MB / 330.7 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.007625, allocations: 158.5 kB / 330.9 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.972e-05/0.007725, allocations: 76.77 kB / 331 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.007738, allocations: 4 kB / 331 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.007757, allocations: 30.56 kB / 331 MB, free: 9.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.007758, allocations: 3.938 kB / 331 MB, free: 9.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005084/0.008267, allocations: 272.6 kB / 331.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.008292, allocations: 51.41 kB / 331.3 MB, free: 8.973 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.008404, allocations: 175.2 kB / 331.5 MB, free: 8.789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.00842, allocations: 29.7 kB / 331.5 MB, free: 8.754 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.008487, allocations: 156.4 kB / 331.7 MB, free: 8.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.008521, allocations: 55.53 kB / 331.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.008565, allocations: 41.66 kB / 331.8 MB, free: 8.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.008641, allocations: 322.8 kB / 332.1 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.738e-05/0.008728, allocations: 59.89 kB / 332.1 MB, free: 8.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.356e-05/0.008822, allocations: 92.27 kB / 332.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.00899, allocations: 136.2 kB / 332.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.008992, allocations: 0 / 332.4 MB, free: 7.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002662/0.009259, allocations: 228.6 kB / 332.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.009273, allocations: 7.938 kB / 332.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.009279, allocations: 4 kB / 332.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.009427, allocations: 32.84 kB / 332.6 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.009509, allocations: 31.97 kB / 332.7 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000809/0.01032, allocations: 1.358 MB / 334 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.181e-05/0.01041, allocations: 35.83 kB / 334.1 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.01042, allocations: 4 kB / 334.1 MB, free: 6.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.01051, allocations: 133.7 kB / 334.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.01053, allocations: 15.91 kB / 334.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.858e-05/0.01056, allocations: 25.8 kB / 334.2 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01056, allocations: 4 kB / 334.2 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01057, allocations: 4.062 kB / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01057, allocations: 0 / 334.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.01104, allocations: 482.1 kB / 334.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01104, allocations: 0 / 334.7 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.635e-05/0.01113, allocations: 35.91 kB / 334.7 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.963e-05/0.01121, allocations: 28.84 kB / 334.8 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01122, allocations: 4 kB / 334.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006777/0.0119, allocations: 1.362 MB / 336.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0119, allocations: 0 / 336.1 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.01225, allocations: 362.5 kB / 336.5 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.0123, allocations: 27.8 kB / 336.5 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.01231, allocations: 7.938 kB / 336.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.0124, allocations: 20.11 kB / 336.5 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.926e-05/0.01245, allocations: 27.89 kB / 336.6 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01246, allocations: 4 kB / 336.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.082e-05/0.01253, allocations: 140.2 kB / 336.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01253, allocations: 0 / 336.7 MB, free: 3.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.01275, allocations: 55.89 kB / 336.8 MB, free: 3.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005467/0.01329, allocations: 0.8879 MB / 337.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003434/0.01364, allocations: 250.4 kB / 337.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01364, allocations: 0 / 337.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.01378, allocations: 190.8 kB / 338.1 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.01403, allocations: 35.98 kB / 338.1 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.01587, allocations: 2.185 MB / 340.3 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.01595, allocations: 125.2 kB / 340.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.016, allocations: 17.48 kB / 340.4 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.882e-05/0.01607, allocations: 52.48 kB / 340.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01607, allocations: 0 / 340.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.04126, allocations: 5.395 MB / 345.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.298/7.339, allocations: 7.062 kB / 345.9 MB, free: 9.977 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.150278808549047]