Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 123.9 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 55.91 kB / 365.6 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1036, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004098/0.1077, allocations: 2.513 MB / 420.3 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1088, allocations: 0.6389 MB / 420.9 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.1089, allocations: 7.938 kB / 420.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.1091, allocations: 35.64 kB / 421 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.1092, allocations: 63.42 kB / 421 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1095, allocations: 67.84 kB / 421.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.1098, allocations: 270.8 kB / 421.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.11, allocations: 75.42 kB / 421.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1101, allocations: 95.64 kB / 421.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1104, allocations: 115.5 kB / 421.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.1104, allocations: 24 kB / 421.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.115e-05/0.1105, allocations: 24 kB / 421.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.052e-05/0.1105, allocations: 51.81 kB / 421.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.1107, allocations: 115.5 kB / 421.8 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000368/0.111, allocations: 266.8 kB / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.111, allocations: 0 / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.111, allocations: 0 / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.111, allocations: 0 / 422.1 MB, free: 8.242 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00097/0.112, allocations: 0.5456 MB / 422.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.112, allocations: 12.03 kB / 422.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.896e-05/0.1121, allocations: 59.11 kB / 422.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1122, allocations: 28.8 kB / 422.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.1126, allocations: 236.4 kB / 423 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.1126, allocations: 16.75 kB / 423 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.196e-05/0.1127, allocations: 24.38 kB / 423 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004338/0.1131, allocations: 230 kB / 423.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1131, allocations: 0 / 423.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.1131, allocations: 15.94 kB / 423.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1131, allocations: 8 kB / 423.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004032/0.1136, allocations: 157.6 kB / 423.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.115, allocations: 0.8284 MB / 424.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.1153, allocations: 148.9 kB / 424.4 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.1155, allocations: 76.81 kB / 424.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1155, allocations: 0 / 424.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1155, allocations: 42.44 kB / 424.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 9.62e-07/0.1155, allocations: 0 / 424.5 MB, free: 5.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008644/0.1164, allocations: 331.4 kB / 424.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1165, allocations: 55.34 kB / 424.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.1166, allocations: 179.2 kB / 425.1 MB, free: 5.031 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1166, allocations: 25.7 kB / 425.1 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.1168, allocations: 152.3 kB / 425.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.475e-05/0.1168, allocations: 63.55 kB / 425.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.1169, allocations: 41.7 kB / 425.3 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.117, allocations: 326.8 kB / 425.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1172, allocations: 55.95 kB / 425.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.1174, allocations: 88.27 kB / 425.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1177, allocations: 140.2 kB / 425.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1177, allocations: 0 / 425.9 MB, free: 4.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000485/0.1182, allocations: 224.1 kB / 426.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1182, allocations: 8 kB / 426.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1182, allocations: 0 / 426.2 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001912/0.1184, allocations: 36.83 kB / 426.2 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.1186, allocations: 31.92 kB / 426.2 MB, free: 3.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1201, allocations: 1.481 MB / 427.7 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1202, allocations: 27.97 kB / 427.7 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.1202, allocations: 12 kB / 427.7 MB, free: 2.133 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: 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.0001412/0.1204, allocations: 134.4 kB / 427.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.1204, allocations: 15.91 kB / 427.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1205, allocations: 25.86 kB / 427.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1205, allocations: 3.938 kB / 427.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1205, allocations: 3.938 kB / 427.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1205, allocations: 4 kB / 427.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.1213, allocations: 0.5168 MB / 428.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1213, allocations: 3.938 kB / 428.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.1214, allocations: 27.98 kB / 428.5 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.1216, allocations: 32.83 kB / 428.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.1216, allocations: 4 kB / 428.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.1229, allocations: 1.461 MB / 430 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1229, allocations: 8.094 kB / 430 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.1235, allocations: 352 kB / 430.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.1236, allocations: 104.9 kB / 430.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1236, allocations: 0 / 430.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.1238, allocations: 32.03 kB / 430.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.1239, allocations: 19.97 kB / 430.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1239, allocations: 4 kB / 430.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.124, allocations: 128.3 kB / 430.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.124, allocations: 0 / 430.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003102/0.1243, allocations: 59.89 kB / 430.7 MB, free: 14.96 MB / 366.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.001025/0.1253, allocations: 0.8953 MB / 431.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005628/0.1259, allocations: 260.9 kB / 431.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1259, allocations: 0 / 431.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.1262, allocations: 174.7 kB / 432 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1265, allocations: 30.33 kB / 432 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.1296, allocations: 2.228 MB / 434.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.13, allocations: 0.7398 MB / 435 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.976e-05/0.1301, allocations: 13.55 kB / 435 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.1302, allocations: 59.41 kB / 435.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1302, allocations: 0 / 435.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03374/0.1639, allocations: 4.553 MB / 439.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.546/9.71, allocations: 13.78 kB / 439.6 MB, free: 5.988 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.333742349874228]