Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001861/0.001861, allocations: 116.9 kB / 18.45 MB, free: 4.566 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.002154/0.002154, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.58/1.58, allocations: 207.6 MB / 231.8 MB, free: 4.027 MB / 174.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001831/0.001831, allocations: 51.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09493/0.09676, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004049/0.1008, allocations: 2.477 MB / 393.9 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1021, allocations: 0.655 MB / 394.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1022, allocations: 4 kB / 394.5 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000165/0.1024, allocations: 35.66 kB / 394.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.1026, allocations: 67.34 kB / 394.6 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1029, allocations: 71.84 kB / 394.7 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.1032, allocations: 254.8 kB / 395 MB, free: 5.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.1034, allocations: 83.39 kB / 395 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.1035, allocations: 103.6 kB / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1037, allocations: 107.5 kB / 395.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.1037, allocations: 23.94 kB / 395.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.1038, allocations: 28 kB / 395.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.757e-05/0.1039, allocations: 43.84 kB / 395.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.104, allocations: 115.5 kB / 395.5 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.1043, allocations: 266.8 kB / 395.7 MB, free: 4.375 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1044, allocations: 4 kB / 395.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1044, allocations: 0 / 395.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1044, allocations: 0 / 395.7 MB, free: 4.371 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001083/0.1054, allocations: 0.5495 MB / 396.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.1055, allocations: 8.031 kB / 396.3 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.1056, allocations: 59.12 kB / 396.3 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.1058, allocations: 28.8 kB / 396.4 MB, free: 3.672 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004128/0.1062, allocations: 236.2 kB / 396.6 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/0.1062, allocations: 24.8 kB / 396.6 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.791e-05/0.1062, allocations: 16.38 kB / 396.6 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004915/0.1067, allocations: 241.9 kB / 396.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1067, allocations: 0 / 396.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1068, allocations: 8 kB / 396.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.1068, allocations: 4 kB / 396.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.1072, allocations: 157.7 kB / 397 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.1086, allocations: 0.8323 MB / 397.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.109, allocations: 154.5 kB / 398 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1092, allocations: 68.83 kB / 398.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1093, allocations: 0 / 398.1 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1093, allocations: 42.5 kB / 398.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1093, allocations: 4 kB / 398.1 MB, free: 1.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009305/0.1102, allocations: 331.7 kB / 398.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1103, allocations: 59.39 kB / 398.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1105, allocations: 174.7 kB / 398.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1105, allocations: 29.7 kB / 398.7 MB, free: 1.121 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1106, allocations: 152.2 kB / 398.9 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.818e-05/0.1107, allocations: 55.53 kB / 398.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.018e-05/0.1107, allocations: 41.66 kB / 399 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1109, allocations: 330.8 kB / 399.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.111, allocations: 47.97 kB / 399.3 MB, free: 500 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.1112, allocations: 96.25 kB / 399.4 MB, free: 388 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.1115, allocations: 148 kB / 399.6 MB, free: 224 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1115, allocations: 0 / 399.6 MB, free: 224 kB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005209/0.1121, allocations: 226.1 kB / 399.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1121, allocations: 4 kB / 399.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1121, allocations: 0 / 399.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.1123, allocations: 40.91 kB / 399.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.1125, allocations: 31.98 kB / 399.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/0.114, allocations: 1.473 MB / 401.3 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1142, allocations: 35.86 kB / 401.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.272e-05/0.1142, allocations: 4 kB / 401.4 MB, free: 14.26 MB / 334.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: 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 0.0001506/0.1143, allocations: 133.8 kB / 401.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.1144, allocations: 19.97 kB / 401.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.1144, allocations: 21.88 kB / 401.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1144, allocations: 0 / 401.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1145, allocations: 7.938 kB / 401.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1145, allocations: 3.984 kB / 401.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008106/0.1153, allocations: 0.5109 MB / 402.1 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1153, allocations: 7.938 kB / 402.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.1154, allocations: 27.98 kB / 402.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001981/0.1156, allocations: 32.83 kB / 402.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1156, allocations: 3.938 kB / 402.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.1169, allocations: 1.477 MB / 403.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1169, allocations: 0 / 403.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.1176, allocations: 360.1 kB / 404 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.1177, allocations: 101 kB / 404.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1177, allocations: 4 kB / 404.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1179, allocations: 19.98 kB / 404.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.1179, allocations: 15.97 kB / 404.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.118, allocations: 7.938 kB / 404.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001171/0.1181, allocations: 132.4 kB / 404.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 5e-08/0.1181, allocations: 0 / 404.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003353/0.1184, allocations: 59.89 kB / 404.3 MB, free: 11.07 MB / 334.1 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.0009842/0.1194, allocations: 0.881 MB / 405.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005802/0.12, allocations: 254.5 kB / 405.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.12, allocations: 0 / 405.4 MB, free: 9.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.1203, allocations: 195.4 kB / 405.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1206, allocations: 39.78 kB / 405.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/0.1236, allocations: 2.225 MB / 407.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.124, allocations: 0.7359 MB / 408.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.327e-05/0.1241, allocations: 17.55 kB / 408.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.1242, allocations: 55.42 kB / 408.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1242, allocations: 0 / 408.7 MB, free: 6.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0324/0.1566, allocations: 4.559 MB / 413.2 MB, free: 1.879 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.841/9.997, allocations: 0.9375 kB / 413.2 MB, free: 1.879 MB / 334.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.817242579010781]