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.001276/0.001276, 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.004578/0.004578, allocations: 165.9 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.8801/0.8801, allocations: 158.6 MB / 186.5 MB, free: 3.035 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 1.964e-06/1.964e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.71e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003285/0.003302, allocations: 2.338 MB / 300.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.004458, allocations: 0.6241 MB / 301.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.004595, allocations: 7.938 kB / 301.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.004733, allocations: 35.64 kB / 301.4 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.004885, allocations: 71.34 kB / 301.5 MB, free: 436 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.005169, allocations: 67.84 kB / 301.6 MB, free: 368 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.005442, allocations: 274.6 kB / 301.8 MB, free: 92 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.005594, allocations: 67.95 kB / 301.9 MB, free: 28 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1312/0.1368, allocations: 143.4 kB / 302 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1369, allocations: 81.11 kB / 302.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.137, allocations: 20.59 kB / 302.1 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1371, allocations: 29.22 kB / 302.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.351e-05/0.1371, allocations: 48.42 kB / 302.2 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.922e-05/0.1372, allocations: 86.27 kB / 302.3 MB, free: 13.21 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1376, allocations: 262.1 kB / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1376, allocations: 0 / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1376, allocations: 1.875 kB / 302.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.1376, 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.0007664/0.1384, allocations: 483.3 kB / 303 MB, free: 12.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1384, allocations: 13.45 kB / 303 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.864e-05/0.1385, allocations: 63.05 kB / 303.1 MB, free: 12.83 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.1386, allocations: 27.83 kB / 303.1 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1389, allocations: 177.2 kB / 303.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.139, allocations: 22.42 kB / 303.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.139, allocations: 22.44 kB / 303.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1393, allocations: 256.6 kB / 303.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1393, allocations: 1.25 kB / 303.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1394, allocations: 10.16 kB / 303.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1394, allocations: 9.797 kB / 303.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.1396, allocations: 160.7 kB / 303.8 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009176/0.1405, allocations: 0.7369 MB / 304.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003187/0.1409, allocations: 148.5 kB / 304.7 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.141, allocations: 75.5 kB / 304.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.141, allocations: 4.062 kB / 304.7 MB, free: 12.13 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.141, allocations: 33.52 kB / 304.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.141, allocations: 0 / 304.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006221/0.1416, allocations: 259.8 kB / 305 MB, free: 12.03 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.1417, allocations: 53.91 kB / 305.1 MB, free: 11.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1418, allocations: 174.5 kB / 305.2 MB, free: 11.87 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1418, allocations: 31.92 kB / 305.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.1419, allocations: 154.1 kB / 305.4 MB, free: 11.72 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.1419, allocations: 48.88 kB / 305.5 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.1419, allocations: 43.31 kB / 305.5 MB, free: 11.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.667e-05/0.142, allocations: 327.8 kB / 305.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/0.1421, allocations: 57.36 kB / 305.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.55e-05/0.1422, allocations: 95.38 kB / 306 MB, free: 11.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.1424, allocations: 142.6 kB / 306.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1424, allocations: 0 / 306.1 MB, free: 11.27 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002919/0.1427, allocations: 222.8 kB / 306.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1427, allocations: 6.422 kB / 306.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1427, allocations: 8.531 kB / 306.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001527/0.1428, allocations: 34.98 kB / 306.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.1429, allocations: 35.56 kB / 306.4 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006454/0.1436, allocations: 1.359 MB / 307.8 MB, free: 9.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.1436, allocations: 33.41 kB / 307.8 MB, free: 9.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.1437, allocations: 6.672 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 9.67e-05/0.1438, allocations: 135.9 kB / 308 MB, free: 9.699 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1438, allocations: 15.44 kB / 308 MB, free: 9.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.1438, allocations: 23.66 kB / 308 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1438, allocations: 7.094 kB / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1438, allocations: 0 / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.1438, allocations: 4.188 kB / 308 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005456/0.1444, allocations: 488.7 kB / 308.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1444, allocations: 0 / 308.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1445, allocations: 25.41 kB / 308.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001071/0.1446, allocations: 36.39 kB / 308.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1446, allocations: 2.109 kB / 308.5 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000641/0.1452, allocations: 1.359 MB / 309.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1452, allocations: 0 / 309.9 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.1457, allocations: 352 kB / 310.2 MB, free: 7.773 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.1457, allocations: 23.23 kB / 310.3 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1457, allocations: 6.094 kB / 310.3 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1458, allocations: 26.41 kB / 310.3 MB, free: 7.75 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.1459, allocations: 23.25 kB / 310.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1459, allocations: 3.438 kB / 310.3 MB, free: 7.746 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.197e-05/0.146, allocations: 138.2 kB / 310.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.146, allocations: 1.125 kB / 310.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.1462, allocations: 58.02 kB / 310.5 MB, free: 7.637 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.0005215/0.1467, allocations: 0.8838 MB / 311.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.1471, allocations: 252.7 kB / 311.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1471, allocations: 4 kB / 311.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.1472, allocations: 188.5 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.0002578/0.1475, allocations: 31.94 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.002033/0.1495, allocations: 2.189 MB / 314.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.1496, allocations: 128.4 kB / 314.2 MB, free: 4.898 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.1497, allocations: 16.58 kB / 314.2 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.1498, allocations: 57.61 kB / 314.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1498, allocations: 0 / 314.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.1727, allocations: 5.407 MB / 319.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.335, allocations: 9.062 kB / 319.7 MB, free: 3.371 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 & 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/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] "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: 9.108190529979765]