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.001816/0.001816, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002237/0.002237, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.459/1.459, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.001986/0.001986, allocations: 51.92 kB / 347.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.265, allocations: 49.17 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003348/0.2683, allocations: 2.492 MB / 398.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009823/0.2693, allocations: 0.6582 MB / 399.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2694, allocations: 4.125 kB / 399.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.2695, allocations: 33.42 kB / 399.5 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.2697, allocations: 65.89 kB / 399.6 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2699, allocations: 70.78 kB / 399.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002596/0.2701, allocations: 262.8 kB / 399.9 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.2703, allocations: 81.31 kB / 400 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2704, allocations: 102.1 kB / 400.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2706, allocations: 108.5 kB / 400.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.2706, allocations: 21.81 kB / 400.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.252e-05/0.2707, allocations: 28.66 kB / 400.2 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.768e-05/0.2708, allocations: 50.27 kB / 400.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.2709, allocations: 115.4 kB / 400.4 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.2712, allocations: 260.5 kB / 400.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2712, allocations: 0 / 400.7 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2712, allocations: 4.844 kB / 400.7 MB, free: 6.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.2712, allocations: 0 / 400.7 MB, free: 6.195 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.0008576/0.2721, allocations: 479.4 kB / 401.1 MB, free: 5.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2721, allocations: 14.09 kB / 401.1 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.239e-05/0.2722, allocations: 59.56 kB / 401.2 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.2723, allocations: 31.78 kB / 401.2 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.2726, allocations: 174.3 kB / 401.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.2726, allocations: 17.47 kB / 401.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.2727, allocations: 22.09 kB / 401.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004184/0.2731, allocations: 242.8 kB / 401.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.2731, allocations: 3.938 kB / 401.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.2731, allocations: 14.47 kB / 401.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.2731, allocations: 4.938 kB / 401.7 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.2735, allocations: 156.6 kB / 401.9 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2746, allocations: 0.7906 MB / 402.7 MB, free: 4.809 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.275, allocations: 156.3 kB / 402.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.2752, allocations: 70.69 kB / 402.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.2752, allocations: 0.9062 kB / 402.9 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.2752, allocations: 41.41 kB / 402.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.2752, allocations: 4 kB / 402.9 MB, free: 4.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008135/0.276, allocations: 256.8 kB / 403.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.276, allocations: 54.19 kB / 403.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2762, allocations: 176 kB / 403.4 MB, free: 4.355 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2762, allocations: 30.89 kB / 403.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.2763, allocations: 148.7 kB / 403.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2763, allocations: 58.47 kB / 403.6 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.2764, allocations: 45.98 kB / 403.7 MB, free: 4.109 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.2764, allocations: 327.4 kB / 404 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.2766, allocations: 53.08 kB / 404 MB, free: 3.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.2767, allocations: 94.2 kB / 404.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.277, allocations: 141 kB / 404.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.277, allocations: 0 / 404.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003954/0.2774, allocations: 225.4 kB / 404.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2774, allocations: 7.75 kB / 404.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2774, allocations: 2.25 kB / 404.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.2776, allocations: 38.03 kB / 404.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.2777, allocations: 32.66 kB / 404.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008143/0.2785, allocations: 1.353 MB / 405.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.2787, allocations: 33.92 kB / 406 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.2787, allocations: 9.781 kB / 406 MB, free: 2.156 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.817e-05/0.2788, allocations: 140.4 kB / 406.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.2789, allocations: 19.31 kB / 406.1 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.2789, allocations: 24.14 kB / 406.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2789, allocations: 1.859 kB / 406.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2789, allocations: 5 kB / 406.2 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.2789, allocations: 4.594 kB / 406.2 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006757/0.2796, allocations: 0.4891 MB / 406.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2796, allocations: 0 / 406.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.2797, allocations: 37.47 kB / 406.7 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001065/0.2799, allocations: 30.86 kB / 406.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.2799, allocations: 7.938 kB / 406.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008133/0.2807, allocations: 1.35 MB / 408.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.2807, allocations: 0 / 408.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.2813, allocations: 364.2 kB / 408.4 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.2813, allocations: 29.8 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.2814, allocations: 2.266 kB / 408.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.2816, allocations: 21.3 kB / 408.5 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.356e-05/0.2816, allocations: 23.92 kB / 408.5 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2816, allocations: 6.188 kB / 408.5 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.2818, allocations: 129.1 kB / 408.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2818, allocations: 0 / 408.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003377/0.2821, allocations: 61.92 kB / 408.7 MB, free: 15.91 MB / 334.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.0009989/0.2831, allocations: 0.8811 MB / 409.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005679/0.2837, allocations: 254.7 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2837, allocations: 1.5 kB / 409.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002849/0.284, allocations: 191.3 kB / 410 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2843, allocations: 32.25 kB / 410 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.2875, allocations: 2.221 MB / 412.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.2879, allocations: 0.7372 MB / 413 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.835e-05/0.288, allocations: 15.64 kB / 413 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.2881, allocations: 61.11 kB / 413.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2881, allocations: 0 / 413.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.324, allocations: 4.697 MB / 417.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.71, allocations: 8.891 kB / 417.8 MB, free: 10.3 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.438227735998225]