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.001899/0.001899, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001633/0.001633, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.475/1.475, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.002066/0.002066, allocations: 71.89 kB / 377.7 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2677, allocations: 53.41 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005903/0.2736, allocations: 2.393 MB / 433.5 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.2752, allocations: 0.6546 MB / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2753, allocations: 0 / 434.2 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001754/0.2755, allocations: 35.64 kB / 434.2 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.2758, allocations: 75.33 kB / 434.3 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.2761, allocations: 67.86 kB / 434.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004531/0.2765, allocations: 266.7 kB / 434.6 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2768, allocations: 67.89 kB / 434.7 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.277, allocations: 95.7 kB / 434.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000207/0.2772, allocations: 95.53 kB / 434.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.381e-05/0.2772, allocations: 24 kB / 434.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001118/0.2773, allocations: 28 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.208e-05/0.2774, allocations: 51.77 kB / 435 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.2775, allocations: 103.5 kB / 435.1 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003432/0.2779, allocations: 252.9 kB / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2779, allocations: 0 / 435.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2779, allocations: 3.938 kB / 435.3 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.2779, allocations: 0 / 435.3 MB, free: 2.219 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.000974/0.2789, allocations: 485.6 kB / 435.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2789, allocations: 15.92 kB / 435.8 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.906e-05/0.279, allocations: 59.16 kB / 435.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.2791, allocations: 32.75 kB / 435.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.2794, allocations: 185.6 kB / 436.1 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.2794, allocations: 12.81 kB / 436.1 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.2795, allocations: 24.38 kB / 436.1 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.28, allocations: 259.7 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.28, allocations: 0 / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.28, allocations: 12 kB / 436.4 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.28, allocations: 8 kB / 436.4 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003878/0.2804, allocations: 157.6 kB / 436.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.2817, allocations: 0.7353 MB / 437.3 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003909/0.2821, allocations: 150.6 kB / 437.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.2823, allocations: 76.77 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2823, allocations: 4 kB / 437.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.2823, allocations: 38.5 kB / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2823, allocations: 0 / 437.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008202/0.2831, allocations: 261.2 kB / 437.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.2832, allocations: 51.41 kB / 437.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.2833, allocations: 178.7 kB / 438 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2834, allocations: 25.7 kB / 438.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.2835, allocations: 156.4 kB / 438.2 MB, free: 15.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.2835, allocations: 55.53 kB / 438.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/0.2836, allocations: 37.7 kB / 438.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2838, allocations: 330.8 kB / 438.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2839, allocations: 51.91 kB / 438.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.2841, allocations: 99.81 kB / 438.8 MB, free: 14.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.2844, allocations: 136.2 kB / 438.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2844, allocations: 0 / 438.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004952/0.2849, allocations: 232.2 kB / 439.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2849, allocations: 4 kB / 439.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.285, allocations: 4 kB / 439.1 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001881/0.2851, allocations: 28.84 kB / 439.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2853, allocations: 43.84 kB / 439.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001439/0.2867, allocations: 1.362 MB / 440.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2869, allocations: 43.86 kB / 440.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.2869, allocations: 4 kB / 440.6 MB, free: 12.56 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.0001499/0.2871, allocations: 130.7 kB / 440.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.2871, allocations: 15.91 kB / 440.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.473e-05/0.2872, allocations: 21.8 kB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2872, allocations: 4 kB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.2872, allocations: 3.938 kB / 440.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2872, allocations: 8 kB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.2881, allocations: 482.2 kB / 441.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2881, allocations: 0 / 441.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.2882, allocations: 27.92 kB / 441.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001233/0.2884, allocations: 36.83 kB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2884, allocations: 4 kB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.2897, allocations: 1.362 MB / 442.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2897, allocations: 0 / 442.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.2903, allocations: 348.1 kB / 443 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.197e-05/0.2904, allocations: 31.84 kB / 443.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.2904, allocations: 4 kB / 443.1 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.2906, allocations: 20.11 kB / 443.1 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.2907, allocations: 23.95 kB / 443.1 MB, free: 9.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.2907, allocations: 4 kB / 443.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001234/0.2908, allocations: 132.3 kB / 443.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2908, allocations: 0 / 443.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.2912, allocations: 55.89 kB / 443.3 MB, free: 9.672 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.2922, allocations: 0.8875 MB / 444.2 MB, free: 8.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.2927, allocations: 246.5 kB / 444.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2927, allocations: 0 / 444.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.293, allocations: 194.8 kB / 444.6 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.2934, allocations: 38.61 kB / 444.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.2966, allocations: 2.229 MB / 446.9 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.2967, allocations: 129.2 kB / 447 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.123e-05/0.2968, allocations: 13.48 kB / 447 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.2969, allocations: 59.41 kB / 447.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.2969, allocations: 0 / 447.1 MB, free: 5.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.3357, allocations: 5.249 MB / 452.3 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.16, allocations: 7.609 kB / 452.3 MB, free: 0.6016 MB / 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.82949141273275]