Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001594/0.001594, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 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.001574/0.001574, allocations: 217.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 51.91 kB / 377.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2595, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.0042/0.2637, allocations: 2.55 MB / 433.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001399/0.2651, allocations: 0.6973 MB / 434.4 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.2652, allocations: 4 kB / 434.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.2654, allocations: 31.64 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.2656, allocations: 67.36 kB / 434.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.2659, allocations: 67.91 kB / 434.5 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.2663, allocations: 262.8 kB / 434.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.2665, allocations: 75.88 kB / 434.9 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.2666, allocations: 95.66 kB / 435 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.2668, allocations: 115.5 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.204e-05/0.2669, allocations: 24 kB / 435.1 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.2669, allocations: 24 kB / 435.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.267, allocations: 55.83 kB / 435.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.2671, allocations: 115.5 kB / 435.3 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003697/0.2675, allocations: 263.2 kB / 435.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2675, allocations: 0 / 435.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2675, allocations: 0 / 435.5 MB, free: 2.438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2675, allocations: 7.938 kB / 435.6 MB, free: 2.43 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.0009643/0.2685, allocations: 477.6 kB / 436 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2685, allocations: 12.03 kB / 436 MB, free: 1.922 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.2686, allocations: 55.17 kB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.2687, allocations: 32.75 kB / 436.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.2692, allocations: 180.2 kB / 436.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.2692, allocations: 16.81 kB / 436.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.333e-05/0.2692, allocations: 24.38 kB / 436.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.2697, allocations: 233.9 kB / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2697, allocations: 0 / 436.6 MB, free: 1.348 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.2697, allocations: 8 kB / 436.6 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.2697, allocations: 8 kB / 436.6 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.2701, allocations: 157.7 kB / 436.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.2715, allocations: 0.7859 MB / 437.5 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004111/0.2719, allocations: 146.6 kB / 437.7 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.2721, allocations: 72.77 kB / 437.7 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2721, allocations: 4 kB / 437.7 MB, free: 108 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.2721, allocations: 42.48 kB / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/0.2721, allocations: 0 / 437.8 MB, free: 56 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009197/0.273, allocations: 262.1 kB / 438 MB, free: 15.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.2731, allocations: 55.41 kB / 438.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.2733, allocations: 168.1 kB / 438.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/0.2733, allocations: 33.7 kB / 438.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.2735, allocations: 148.4 kB / 438.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.2735, allocations: 59.55 kB / 438.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.094e-05/0.2736, allocations: 41.7 kB / 438.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.2738, allocations: 330.8 kB / 438.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.274, allocations: 51.97 kB / 438.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.2742, allocations: 92.25 kB / 439 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.2745, allocations: 140.2 kB / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2745, allocations: 0 / 439.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004797/0.2749, allocations: 224.8 kB / 439.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.275, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.275, allocations: 7.984 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002161/0.2752, allocations: 40.77 kB / 439.4 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.2753, allocations: 31.98 kB / 439.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.2767, allocations: 1.366 MB / 440.8 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.2769, allocations: 27.88 kB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.2769, allocations: 8.062 kB / 440.8 MB, free: 12.78 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.000148/0.2771, allocations: 141.7 kB / 441 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.2771, allocations: 19.86 kB / 441 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.2772, allocations: 21.81 kB / 441 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2772, allocations: 4 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.2772, allocations: 3.938 kB / 441 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.2772, allocations: 3.984 kB / 441 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008109/0.278, allocations: 496.7 kB / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.278, allocations: 0 / 441.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.2782, allocations: 27.98 kB / 441.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.2783, allocations: 28.83 kB / 441.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.2783, allocations: 8.141 kB / 441.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.2795, allocations: 1.373 MB / 442.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2795, allocations: 0 / 442.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.2802, allocations: 352.1 kB / 443.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.2803, allocations: 27.86 kB / 443.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.2803, allocations: 3.938 kB / 443.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.2805, allocations: 28.03 kB / 443.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.2806, allocations: 19.97 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2806, allocations: 4 kB / 443.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001478/0.2807, allocations: 131.5 kB / 443.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2807, allocations: 0 / 443.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.2811, allocations: 63.84 kB / 443.6 MB, free: 9.852 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.001073/0.2822, allocations: 0.8916 MB / 444.5 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006107/0.2828, allocations: 250.9 kB / 444.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2828, allocations: 0 / 444.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.2831, allocations: 190.6 kB / 444.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.2834, allocations: 31.86 kB / 444.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.2865, allocations: 2.233 MB / 447.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.2869, allocations: 0.732 MB / 447.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.749e-05/0.287, allocations: 21.47 kB / 447.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.2871, allocations: 55.36 kB / 448 MB, free: 5.273 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2871, allocations: 0 / 448 MB, free: 5.273 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03551/0.3226, allocations: 4.7 MB / 452.7 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.6, allocations: 11.38 kB / 452.7 MB, free: 0.7266 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_4.1.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.292760061998706]