Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008623/0.0008623, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007979/0.0007979, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.858/0.858, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.908e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002673/0.002692, allocations: 2.401 MB / 326.9 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007551/0.003447, allocations: 0.6582 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.17e-05/0.003538, allocations: 4 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001179/0.003656, allocations: 35.66 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.003747, allocations: 71.28 kB / 327.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.003952, allocations: 75.7 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.004166, allocations: 278.6 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.004307, allocations: 67.94 kB / 328.1 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.004428, allocations: 151.7 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.004643, allocations: 79.78 kB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.004669, allocations: 24 kB / 328.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.757e-05/0.004726, allocations: 24 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.004757, allocations: 43.83 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.599e-05/0.004813, allocations: 87.77 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.005044, allocations: 259.2 kB / 328.7 MB, free: 11.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005048, allocations: 3.984 kB / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.005049, allocations: 0 / 328.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.005053, allocations: 0 / 328.7 MB, free: 11.63 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.0005753/0.005628, allocations: 481.7 kB / 329.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.005663, allocations: 11.98 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.875e-05/0.005731, allocations: 63.22 kB / 329.3 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.005805, allocations: 28.75 kB / 329.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.006023, allocations: 185.7 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.006036, allocations: 16.88 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.006063, allocations: 24.31 kB / 329.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.006347, allocations: 253 kB / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.006357, allocations: 192 / 329.8 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.006375, allocations: 16.12 kB / 329.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006382, allocations: 7.984 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.00661, allocations: 161.8 kB / 330 MB, free: 10.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.007378, allocations: 0.7359 MB / 330.7 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.007621, allocations: 150.6 kB / 330.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.007718, allocations: 73.66 kB / 330.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.007729, allocations: 0 / 330.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.007746, allocations: 38.5 kB / 331 MB, free: 9.258 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.001e-06/0.007747, allocations: 0 / 331 MB, free: 9.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004957/0.008243, allocations: 265.1 kB / 331.2 MB, free: 8.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.008268, allocations: 55.41 kB / 331.3 MB, free: 8.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008372, allocations: 178.7 kB / 331.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.008387, allocations: 29.7 kB / 331.5 MB, free: 8.703 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.178e-05/0.008448, allocations: 156.4 kB / 331.6 MB, free: 8.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.008477, allocations: 55.53 kB / 331.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.365e-05/0.008521, allocations: 45.66 kB / 331.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003027/0.008824, allocations: 322.8 kB / 332 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.285e-05/0.008916, allocations: 59.91 kB / 332.1 MB, free: 8.059 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.009008, allocations: 88.25 kB / 332.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.009179, allocations: 147.2 kB / 332.3 MB, free: 7.801 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.009182, allocations: 4 kB / 332.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002559/0.009438, allocations: 214.2 kB / 332.5 MB, free: 7.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.009452, allocations: 11.94 kB / 332.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.009457, allocations: 0 / 332.5 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.009583, allocations: 32.84 kB / 332.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.009663, allocations: 44.03 kB / 332.6 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007157/0.01038, allocations: 1.35 MB / 334 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.335e-05/0.01046, allocations: 35.84 kB / 334 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.01047, allocations: 8 kB / 334 MB, free: 5.973 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 7.892e-05/0.01055, allocations: 133.8 kB / 334.1 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.01057, allocations: 15.91 kB / 334.2 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.341e-05/0.0106, allocations: 29.73 kB / 334.2 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.0106, allocations: 0 / 334.2 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.0106, allocations: 3.938 kB / 334.2 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.0106, allocations: 4 kB / 334.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004395/0.01104, allocations: 482.1 kB / 334.7 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01104, allocations: 7.938 kB / 334.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.899e-05/0.01112, allocations: 31.92 kB / 334.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-05/0.01119, allocations: 32.83 kB / 334.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.0112, allocations: 0 / 334.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006287/0.01183, allocations: 1.362 MB / 336.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.01183, allocations: 0 / 336.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.01217, allocations: 356 kB / 336.5 MB, free: 3.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/0.01221, allocations: 27.86 kB / 336.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.01222, allocations: 7.922 kB / 336.5 MB, free: 3.309 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.01232, allocations: 19.98 kB / 336.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.01236, allocations: 15.97 kB / 336.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.01236, allocations: 4 kB / 336.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.252e-05/0.01243, allocations: 136.3 kB / 336.7 MB, free: 3.137 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01243, allocations: 4.062 kB / 336.7 MB, free: 3.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001929/0.01262, allocations: 59.89 kB / 336.7 MB, free: 3.074 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.0005111/0.01313, allocations: 0.8836 MB / 337.6 MB, free: 2.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003074/0.01344, allocations: 254.8 kB / 337.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01344, allocations: 0 / 337.9 MB, free: 1.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01357, allocations: 182.6 kB / 338 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.01379, allocations: 27.92 kB / 338.1 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.0157, allocations: 2.193 MB / 340.3 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.068e-05/0.01578, allocations: 129.2 kB / 340.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.879e-05/0.01583, allocations: 9.484 kB / 340.4 MB, free: 15.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.0159, allocations: 56.48 kB / 340.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.0159, allocations: 4 kB / 340.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.03441, allocations: 5.405 MB / 345.9 MB, free: 9.891 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.147, allocations: 7.922 kB / 345.9 MB, free: 9.883 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.933140420354903]