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.001329/0.001329, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 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.002262/0.002262, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 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 1.531/1.531, allocations: 230.5 MB / 257.4 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001891/0.001891, allocations: 67.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2667, allocations: 53.41 MB / 431.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004413/0.2711, allocations: 2.552 MB / 433.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2727, allocations: 0.6895 MB / 434.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.2729, allocations: 0 / 434.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.2731, allocations: 35.64 kB / 434.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.2732, allocations: 71.33 kB / 434.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.2736, allocations: 67.8 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003952/0.274, allocations: 270.8 kB / 434.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.2742, allocations: 67.91 kB / 434.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.2744, allocations: 107.6 kB / 435 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.2746, allocations: 107.5 kB / 435.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.611e-05/0.2746, allocations: 24 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.972e-05/0.2747, allocations: 28 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.2748, allocations: 47.83 kB / 435.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.2749, allocations: 115.5 kB / 435.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004346/0.2754, allocations: 263.2 kB / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2754, allocations: 0 / 435.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.319e-06/0.2754, allocations: 7.984 kB / 435.6 MB, free: 2.207 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.2754, allocations: 4 kB / 435.6 MB, free: 2.203 MB / 334.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.001067/0.2764, allocations: 477.6 kB / 436.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.2765, allocations: 12.03 kB / 436.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/0.2766, allocations: 55.16 kB / 436.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.2767, allocations: 32.75 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.2771, allocations: 173.6 kB / 436.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.2771, allocations: 16.81 kB / 436.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.154e-05/0.2772, allocations: 24.38 kB / 436.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.2776, allocations: 237.9 kB / 436.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.2777, allocations: 0 / 436.6 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.2777, allocations: 8 kB / 436.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/0.2777, allocations: 8 kB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.2781, allocations: 153.7 kB / 436.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.2796, allocations: 0.7898 MB / 437.6 MB, free: 116 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004524/0.2801, allocations: 162.6 kB / 437.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001924/0.2803, allocations: 68.83 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.2803, allocations: 0 / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.2803, allocations: 38.5 kB / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.2803, allocations: 0 / 437.8 MB, free: 15.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.000909/0.2812, allocations: 261 kB / 438.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2813, allocations: 59.34 kB / 438.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.2815, allocations: 175.5 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.2815, allocations: 33.7 kB / 438.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.2816, allocations: 144.4 kB / 438.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.2817, allocations: 67.41 kB / 438.6 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.686e-05/0.2818, allocations: 33.72 kB / 438.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2819, allocations: 330.8 kB / 438.9 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.2821, allocations: 51.97 kB / 439 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.2822, allocations: 99.62 kB / 439.1 MB, free: 14.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.2826, allocations: 144.2 kB / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2826, allocations: 0 / 439.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004767/0.283, allocations: 224.4 kB / 439.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.2831, allocations: 4 kB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2831, allocations: 0 / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.2833, allocations: 36.95 kB / 439.5 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2834, allocations: 35.98 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.285, allocations: 1.366 MB / 440.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2851, allocations: 27.88 kB / 440.9 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2852, allocations: 7.984 kB / 440.9 MB, free: 12.55 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.0001552/0.2853, allocations: 133.7 kB / 441 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/0.2854, allocations: 19.86 kB / 441 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.2854, allocations: 29.86 kB / 441.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/0.2855, allocations: 4 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.844e-06/0.2855, allocations: 3.938 kB / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2855, allocations: 0 / 441.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.2863, allocations: 498.2 kB / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2863, allocations: 0 / 441.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.2864, allocations: 23.98 kB / 441.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001265/0.2866, allocations: 36.83 kB / 441.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.2866, allocations: 4 kB / 441.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.2879, allocations: 1.362 MB / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2879, allocations: 0 / 443 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00067/0.2885, allocations: 356.1 kB / 443.3 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.946e-05/0.2886, allocations: 28 kB / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.2886, allocations: 0 / 443.4 MB, free: 9.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.2888, allocations: 31.89 kB / 443.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.2889, allocations: 19.97 kB / 443.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.2889, allocations: 4 kB / 443.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.2891, allocations: 131.4 kB / 443.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2891, allocations: 4.062 kB / 443.6 MB, free: 9.688 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.2894, allocations: 63.84 kB / 443.6 MB, free: 9.625 MB / 350.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.001011/0.2904, allocations: 0.8885 MB / 444.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005973/0.291, allocations: 250.5 kB / 444.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.291, allocations: 0 / 444.8 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.2913, allocations: 194.8 kB / 444.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2917, allocations: 38.67 kB / 445 MB, free: 8.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.2947, allocations: 2.23 MB / 447.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.2951, allocations: 0.7359 MB / 447.9 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.876e-05/0.2952, allocations: 17.48 kB / 448 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.807e-05/0.2953, allocations: 55.42 kB / 448 MB, free: 5.047 MB / 350.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2953, allocations: 0 / 448 MB, free: 5.047 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03965/0.3349, allocations: 4.689 MB / 452.7 MB, free: 496 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.59, allocations: 0 / 452.7 MB, free: 496 kB / 350.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/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: 14.315476519001095]