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.0008429/0.0008429, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004755/0.004755, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8744/0.8744, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.161e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002691/0.002723, allocations: 2.342 MB / 300.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009507/0.003674, allocations: 0.6241 MB / 301.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.003792, allocations: 4 kB / 301.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.003914, allocations: 31.64 kB / 301.4 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001245/0.004038, allocations: 79.3 kB / 301.5 MB, free: 424 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.004309, allocations: 67.83 kB / 301.6 MB, free: 356 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.004557, allocations: 270.6 kB / 301.8 MB, free: 84 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.004728, allocations: 71.94 kB / 301.9 MB, free: 16 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1264/0.1311, allocations: 142.7 kB / 302 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.1313, allocations: 80.89 kB / 302.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.1313, allocations: 21.44 kB / 302.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.6e-05/0.1314, allocations: 27.61 kB / 302.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.1314, allocations: 52.52 kB / 302.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.277e-05/0.1315, allocations: 84.14 kB / 302.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003201/0.1318, allocations: 264.2 kB / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1318, allocations: 1.156 kB / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1318, allocations: 0 / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.1318, allocations: 0 / 302.6 MB, free: 13.2 MB / 282.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.000642/0.1325, allocations: 479.2 kB / 303 MB, free: 12.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.1325, allocations: 14.02 kB / 303 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.508e-05/0.1326, allocations: 67.14 kB / 303.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.373e-05/0.1327, allocations: 27.89 kB / 303.1 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.133, allocations: 174.6 kB / 303.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.133, allocations: 17.25 kB / 303.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.133, allocations: 24.72 kB / 303.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.1333, allocations: 257.6 kB / 303.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1333, allocations: 0.8438 kB / 303.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1334, allocations: 10.62 kB / 303.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1334, allocations: 9.75 kB / 303.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.1336, allocations: 155.7 kB / 303.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008313/0.1344, allocations: 0.7444 MB / 304.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.1347, allocations: 149.5 kB / 304.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1348, allocations: 71.73 kB / 304.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.1348, allocations: 6.5 kB / 304.7 MB, free: 12.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.1348, allocations: 35.28 kB / 304.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.1348, allocations: 0 / 304.8 MB, free: 12.08 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005479/0.1354, allocations: 263.5 kB / 305 MB, free: 12.02 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.1354, allocations: 54.23 kB / 305.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.1355, allocations: 171.8 kB / 305.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1355, allocations: 30.89 kB / 305.3 MB, free: 11.83 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.1356, allocations: 151.5 kB / 305.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1356, allocations: 58.28 kB / 305.5 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.1357, allocations: 40.41 kB / 305.5 MB, free: 11.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.199e-05/0.1357, allocations: 328.3 kB / 305.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.1358, allocations: 54.45 kB / 305.9 MB, free: 11.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.488e-05/0.1359, allocations: 89.53 kB / 306 MB, free: 11.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.136, allocations: 148.3 kB / 306.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.136, allocations: 0 / 306.1 MB, free: 11.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002701/0.1363, allocations: 216.4 kB / 306.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1363, allocations: 7.109 kB / 306.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.1363, allocations: 8.188 kB / 306.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001474/0.1365, allocations: 38.16 kB / 306.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1366, allocations: 34.42 kB / 306.4 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005867/0.1372, allocations: 1.354 MB / 307.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.1372, allocations: 34.91 kB / 307.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1373, allocations: 4.938 kB / 307.8 MB, free: 9.828 MB / 282.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 7.383e-05/0.1373, allocations: 142.2 kB / 308 MB, free: 9.695 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.278e-05/0.1374, allocations: 16.17 kB / 308 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.595e-05/0.1374, allocations: 23.77 kB / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1374, allocations: 1.469 kB / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1374, allocations: 2.109 kB / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1374, allocations: 3.453 kB / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004389/0.1378, allocations: 487.1 kB / 308.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1378, allocations: 5.812 kB / 308.5 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.1379, allocations: 27.34 kB / 308.5 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.138, allocations: 38.62 kB / 308.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.138, allocations: 1.219 kB / 308.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004814/0.1385, allocations: 1.355 MB / 309.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1385, allocations: 0 / 309.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.1388, allocations: 355.8 kB / 310.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1389, allocations: 23.03 kB / 310.3 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.1389, allocations: 12.05 kB / 310.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.139, allocations: 21.77 kB / 310.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/0.139, allocations: 18.88 kB / 310.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.139, allocations: 3.75 kB / 310.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.1391, allocations: 144.1 kB / 310.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1391, allocations: 0 / 310.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002105/0.1393, allocations: 57.7 kB / 310.5 MB, free: 7.633 MB / 282.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.0004923/0.1398, allocations: 0.8801 MB / 311.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003738/0.1402, allocations: 259.5 kB / 311.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1402, allocations: 0 / 311.7 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.1403, allocations: 183.1 kB / 311.8 MB, free: 6.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1406, allocations: 25.64 kB / 311.9 MB, free: 6.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.1423, allocations: 2.196 MB / 314.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.275e-05/0.1424, allocations: 127.5 kB / 314.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.053e-05/0.1424, allocations: 12.61 kB / 314.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.1425, allocations: 57.34 kB / 314.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1425, allocations: 2.406 kB / 314.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02121/0.1637, allocations: 5.409 MB / 319.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/7.027, allocations: 9 kB / 319.7 MB, free: 3.363 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.71329638082534]