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.00147/0.00147, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001549/0.001549, allocations: 209.3 kB / 23.73 MB, free: 4.387 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.773 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.001593/0.001593, allocations: 47.94 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2512, allocations: 53.37 MB / 431.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003942/0.2551, allocations: 2.404 MB / 433.5 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2564, allocations: 0.6429 MB / 434.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2565, allocations: 7.938 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.2567, allocations: 35.64 kB / 434.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.2568, allocations: 71.3 kB / 434.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2571, allocations: 67.84 kB / 434.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.2575, allocations: 270.8 kB / 434.6 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2576, allocations: 71.89 kB / 434.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.2578, allocations: 95.72 kB / 434.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2579, allocations: 115.5 kB / 434.8 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.258, allocations: 20 kB / 434.9 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.69e-05/0.2581, allocations: 24 kB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.75e-05/0.2581, allocations: 55.77 kB / 434.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.2582, allocations: 95.59 kB / 435 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.2586, allocations: 256.8 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2586, allocations: 0 / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2586, allocations: 7.938 kB / 435.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2586, allocations: 0 / 435.3 MB, free: 2.395 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.0009552/0.2595, allocations: 485.6 kB / 435.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2596, allocations: 11.97 kB / 435.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.02e-05/0.2597, allocations: 55.17 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2598, allocations: 28.75 kB / 435.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.2601, allocations: 182.6 kB / 436 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2601, allocations: 16.81 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.2602, allocations: 16.38 kB / 436.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.2607, allocations: 259.7 kB / 436.3 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.2607, allocations: 11.94 kB / 436.3 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2607, allocations: 4 kB / 436.3 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.2607, allocations: 4 kB / 436.3 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2611, allocations: 161.6 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2624, allocations: 0.7431 MB / 437.2 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.2628, allocations: 142.6 kB / 437.4 MB, free: 160 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.263, allocations: 72.83 kB / 437.4 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.263, allocations: 0 / 437.4 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.263, allocations: 46.42 kB / 437.5 MB, free: 28 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.163e-06/0.263, allocations: 4 kB / 437.5 MB, free: 24 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008931/0.2639, allocations: 248.5 kB / 437.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.264, allocations: 59.34 kB / 437.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.2642, allocations: 179.3 kB / 438 MB, free: 15.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.2642, allocations: 33.7 kB / 438 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.2643, allocations: 152.3 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.552e-05/0.2644, allocations: 59.58 kB / 438.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.2644, allocations: 37.72 kB / 438.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.2646, allocations: 334.8 kB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.2648, allocations: 51.97 kB / 438.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.265, allocations: 88.25 kB / 438.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.2653, allocations: 147 kB / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2653, allocations: 0 / 438.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004895/0.2658, allocations: 222.1 kB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2658, allocations: 8.062 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2658, allocations: 4 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001891/0.266, allocations: 32.83 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2661, allocations: 39.92 kB / 439.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2675, allocations: 1.354 MB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2676, allocations: 39.86 kB / 440.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.2677, allocations: 8 kB / 440.6 MB, free: 12.75 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.0001431/0.2678, allocations: 133.8 kB / 440.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.393e-05/0.2678, allocations: 15.91 kB / 440.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.2679, allocations: 21.81 kB / 440.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2679, allocations: 0 / 440.7 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2679, allocations: 7.938 kB / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2679, allocations: 144 / 440.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008038/0.2687, allocations: 490.2 kB / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2687, allocations: 0 / 441.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.2689, allocations: 27.97 kB / 441.2 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/0.269, allocations: 28.84 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.269, allocations: 4 kB / 441.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.2702, allocations: 1.362 MB / 442.6 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2702, allocations: 4.062 kB / 442.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006463/0.2709, allocations: 352.1 kB / 443 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.996e-05/0.2709, allocations: 27.86 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.271, allocations: 4 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.2712, allocations: 23.97 kB / 443 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.2712, allocations: 20.03 kB / 443.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2712, allocations: 4 kB / 443.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.2713, allocations: 128.3 kB / 443.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2713, allocations: 0 / 443.2 MB, free: 9.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003334/0.2717, allocations: 63.89 kB / 443.2 MB, free: 9.855 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.0009854/0.2727, allocations: 0.8879 MB / 444.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.2732, allocations: 246.5 kB / 444.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2732, allocations: 3.938 kB / 444.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.2735, allocations: 198.5 kB / 444.6 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.0003396/0.2738, allocations: 45.7 kB / 444.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003093/0.2769, allocations: 2.219 MB / 446.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.2771, allocations: 125.2 kB / 447 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.07e-05/0.2771, allocations: 21.47 kB / 447 MB, free: 5.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.801e-05/0.2772, allocations: 55.42 kB / 447 MB, free: 5.891 MB / 350.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2772, allocations: 0 / 447 MB, free: 5.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03835/0.3156, allocations: 5.298 MB / 452.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.76, allocations: 9.734 kB / 452.3 MB, free: 0.7656 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.530834711011266]