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.00175/0.00175, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002217/0.002217, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.461/1.461, allocations: 207.7 MB / 235.3 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 58.58 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2781, allocations: 49.16 MB / 396.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003737/0.2819, allocations: 2.351 MB / 398.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.2833, allocations: 0.6219 MB / 399.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.2836, allocations: 3.406 kB / 399.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.2838, allocations: 34.47 kB / 399.3 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002895/0.2841, allocations: 73.7 kB / 399.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003855/0.2845, allocations: 64.45 kB / 399.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.285, allocations: 257.3 kB / 399.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.2852, allocations: 78.08 kB / 399.8 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.2855, allocations: 98.36 kB / 399.9 MB, free: 6.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.2857, allocations: 97.33 kB / 400 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.2857, allocations: 28.64 kB / 400 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.319e-05/0.2858, allocations: 24 kB / 400 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.2859, allocations: 54.88 kB / 400.1 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.286, allocations: 99.83 kB / 400.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003608/0.2863, allocations: 259.4 kB / 400.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2863, allocations: 0 / 400.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2863, allocations: 0 / 400.5 MB, free: 6.305 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.2863, allocations: 0.6562 kB / 400.5 MB, free: 6.305 MB / 318.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.000893/0.2872, allocations: 480.7 kB / 400.9 MB, free: 5.941 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2873, allocations: 13.95 kB / 400.9 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.154e-05/0.2874, allocations: 63.06 kB / 401 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.2875, allocations: 27.62 kB / 401 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.2878, allocations: 182.3 kB / 401.2 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.2878, allocations: 17.16 kB / 401.2 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.055e-05/0.2878, allocations: 26.81 kB / 401.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.2883, allocations: 261.6 kB / 401.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2883, allocations: 0 / 401.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2884, allocations: 10.03 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.2884, allocations: 5.688 kB / 401.5 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.2888, allocations: 157.9 kB / 401.7 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.2902, allocations: 0.7406 MB / 402.4 MB, free: 4.906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003741/0.2905, allocations: 151 kB / 402.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.2907, allocations: 74.34 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.2907, allocations: 2.984 kB / 402.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2908, allocations: 36.84 kB / 402.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.272e-06/0.2908, allocations: 0 / 402.7 MB, free: 4.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008167/0.2916, allocations: 260.6 kB / 402.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2916, allocations: 52.53 kB / 403 MB, free: 4.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.2917, allocations: 175.2 kB / 403.1 MB, free: 4.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.2918, allocations: 30.8 kB / 403.2 MB, free: 4.426 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.062e-05/0.2918, allocations: 148.5 kB / 403.3 MB, free: 4.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.791e-05/0.2919, allocations: 58.94 kB / 403.4 MB, free: 4.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.2919, allocations: 46.5 kB / 403.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.292, allocations: 329.7 kB / 403.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2921, allocations: 50.69 kB / 403.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.2923, allocations: 100.6 kB / 403.9 MB, free: 3.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.2926, allocations: 142.6 kB / 404 MB, free: 3.727 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.2926, allocations: 1.031 kB / 404 MB, free: 3.727 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004788/0.2931, allocations: 222.8 kB / 404.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2931, allocations: 5.406 kB / 404.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2931, allocations: 1.188 kB / 404.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002019/0.2933, allocations: 30.86 kB / 404.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.2934, allocations: 39.23 kB / 404.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009338/0.2944, allocations: 1.363 MB / 405.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.2946, allocations: 40.55 kB / 405.7 MB, free: 2.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2946, allocations: 5.75 kB / 405.7 MB, free: 2.25 MB / 318.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.154e-05/0.2947, allocations: 126.4 kB / 405.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.2947, allocations: 15.78 kB / 405.9 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.2947, allocations: 25.09 kB / 405.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2947, allocations: 1.094 kB / 405.9 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2947, allocations: 8.938 kB / 405.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2948, allocations: 1.219 kB / 405.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000599/0.2954, allocations: 481.7 kB / 406.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2954, allocations: 0 / 406.4 MB, free: 1.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001401/0.2955, allocations: 28.47 kB / 406.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.2956, allocations: 33.77 kB / 406.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.2956, allocations: 0.6562 kB / 406.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007234/0.2963, allocations: 1.365 MB / 407.8 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2963, allocations: 2.188 kB / 407.8 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.2969, allocations: 351.8 kB / 408.2 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.297, allocations: 30.42 kB / 408.2 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.297, allocations: 1.25 kB / 408.2 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2972, allocations: 26.72 kB / 408.2 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.983e-05/0.2973, allocations: 23.66 kB / 408.2 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/0.2973, allocations: 2.844 kB / 408.2 MB, free: 136 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.304e-05/0.2973, allocations: 129 kB / 408.4 MB, free: 44 kB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2973, allocations: 0 / 408.4 MB, free: 44 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.2977, allocations: 62.64 kB / 408.4 MB, free: 28 kB / 318.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.0009735/0.2986, allocations: 0.8819 MB / 409.3 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005138/0.2992, allocations: 258 kB / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2992, allocations: 1.375 kB / 409.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.2994, allocations: 188.1 kB / 409.7 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.2998, allocations: 36.33 kB / 409.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.3028, allocations: 2.22 MB / 412 MB, free: 13.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.3029, allocations: 122.9 kB / 412.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.09e-05/0.303, allocations: 16.42 kB / 412.1 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.793e-05/0.3031, allocations: 56.81 kB / 412.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3031, allocations: 0 / 412.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.3403, allocations: 5.26 MB / 417.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.09, allocations: 1.031 kB / 417.4 MB, free: 10.55 MB / 334.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins1/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: 14.764185791835189]