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.001547/0.001547, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002141/0.002141, allocations: 207.5 kB / 20.75 MB, free: 2.312 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.541/1.541, allocations: 230.4 MB / 254 MB, free: 15.02 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.001969/0.001969, allocations: 67.89 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09723, allocations: 53.36 MB / 426.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003988/0.1012, allocations: 2.534 MB / 428.9 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1025, allocations: 0.6856 MB / 429.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001609/0.1026, allocations: 4 kB / 429.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.1028, allocations: 35.64 kB / 429.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001665/0.103, allocations: 67.34 kB / 429.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1032, allocations: 67.86 kB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000345/0.1036, allocations: 270.8 kB / 430 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.1037, allocations: 79.36 kB / 430.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1039, allocations: 95.7 kB / 430.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1041, allocations: 111.5 kB / 430.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/0.1041, allocations: 20 kB / 430.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.447e-05/0.1042, allocations: 24 kB / 430.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.1042, allocations: 47.78 kB / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1044, allocations: 123.4 kB / 430.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.1047, allocations: 262.9 kB / 430.7 MB, free: 240 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1047, allocations: 4 kB / 430.7 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1047, allocations: 3.938 kB / 430.7 MB, free: 232 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1047, allocations: 0 / 430.7 MB, free: 232 kB / 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.1774/0.2822, allocations: 0.5421 MB / 431.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2822, allocations: 9.031 kB / 431.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.423e-05/0.2823, allocations: 59.48 kB / 431.4 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.2825, allocations: 30.53 kB / 431.4 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.2827, allocations: 230.2 kB / 431.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.2827, allocations: 19.84 kB / 431.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.2828, allocations: 17.53 kB / 431.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.2832, allocations: 231.5 kB / 431.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.2832, allocations: 5.875 kB / 431.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.2833, allocations: 10 kB / 431.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2833, allocations: 6.578 kB / 431.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.2837, allocations: 159.8 kB / 432 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2848, allocations: 0.8188 MB / 432.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003768/0.2852, allocations: 147.7 kB / 433 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.2854, allocations: 77.05 kB / 433.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.2854, allocations: 4.812 kB / 433.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.379e-05/0.2854, allocations: 35 kB / 433.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.2854, allocations: 0.8438 kB / 433.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008151/0.2862, allocations: 338.8 kB / 433.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.933e-05/0.2863, allocations: 54.16 kB / 433.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2864, allocations: 180.2 kB / 433.7 MB, free: 9.902 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.2864, allocations: 31.41 kB / 433.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.2865, allocations: 146.6 kB / 433.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.2865, allocations: 60.38 kB / 433.9 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.2866, allocations: 45.08 kB / 434 MB, free: 9.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.2866, allocations: 329.7 kB / 434.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.2868, allocations: 51.81 kB / 434.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2869, allocations: 89.31 kB / 434.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.2872, allocations: 140.5 kB / 434.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2872, allocations: 0 / 434.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004474/0.2877, allocations: 229.2 kB / 434.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.2877, allocations: 8.031 kB / 434.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.2877, allocations: 2.125 kB / 434.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.2879, allocations: 39.97 kB / 434.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.288, allocations: 28.05 kB / 434.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008888/0.2889, allocations: 1.467 MB / 436.3 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2891, allocations: 39.7 kB / 436.4 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.2891, allocations: 10.09 kB / 436.4 MB, free: 7.863 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 9.45e-05/0.2892, allocations: 132 kB / 436.5 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.2892, allocations: 18.91 kB / 436.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.319e-05/0.2893, allocations: 17.84 kB / 436.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2893, allocations: 1.375 kB / 436.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2893, allocations: 1.25 kB / 436.5 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2893, allocations: 5.203 kB / 436.5 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.29, allocations: 0.5208 MB / 437.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.29, allocations: 1.375 kB / 437.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.2901, allocations: 25.83 kB / 437.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001098/0.2902, allocations: 35.61 kB / 437.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2903, allocations: 6.531 kB / 437.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000762/0.291, allocations: 1.466 MB / 438.6 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.291, allocations: 9.062 kB / 438.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.2916, allocations: 347.4 kB / 439 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.654e-05/0.2917, allocations: 111.9 kB / 439.1 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2917, allocations: 5.031 kB / 439.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2919, allocations: 27.31 kB / 439.1 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.105e-05/0.292, allocations: 18.27 kB / 439.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.292, allocations: 6.719 kB / 439.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.093e-05/0.2921, allocations: 126.1 kB / 439.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2921, allocations: 3.484 kB / 439.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003332/0.2924, allocations: 62.33 kB / 439.3 MB, free: 5.402 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.0008165/0.2932, allocations: 0.8827 MB / 440.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.2937, allocations: 256.8 kB / 440.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2937, allocations: 1.312 kB / 440.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002741/0.294, allocations: 189.7 kB / 440.6 MB, free: 4.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2943, allocations: 31.8 kB / 440.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.297, allocations: 2.216 MB / 442.9 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2972, allocations: 0.7375 MB / 443.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.2973, allocations: 12.97 kB / 443.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.623e-05/0.2974, allocations: 56.88 kB / 443.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2974, allocations: 1.031 kB / 443.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.3338, allocations: 4.56 MB / 448.2 MB, free: 1.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.884/10.22, allocations: 18.19 kB / 448.3 MB, free: 1.352 MB / 350.1 MB " [Timeout remaining time 650] (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: 13.011956642963924]