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.001829/0.001829, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002347/0.002347, allocations: 211.2 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.577/1.577, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001832/0.001832, allocations: 51.86 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2558, allocations: 53.38 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004223/0.2601, allocations: 2.404 MB / 433.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2615, allocations: 0.6429 MB / 434.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.2617, allocations: 7.938 kB / 434.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.2618, allocations: 31.66 kB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.262, allocations: 71.39 kB / 434.2 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.2623, allocations: 63.86 kB / 434.3 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003896/0.2627, allocations: 270.8 kB / 434.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2629, allocations: 63.91 kB / 434.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.2631, allocations: 103.6 kB / 434.7 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.2633, allocations: 95.48 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.2633, allocations: 20 kB / 434.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.2635, allocations: 27.98 kB / 434.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.2e-05/0.2635, allocations: 51.84 kB / 434.9 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.2636, allocations: 99.59 kB / 435 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.2641, allocations: 264.7 kB / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.2641, allocations: 0 / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2641, allocations: 0 / 435.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.2641, allocations: 0 / 435.3 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.001115/0.2652, allocations: 477.6 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2652, allocations: 8.031 kB / 435.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001092/0.2653, allocations: 63.16 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.2655, allocations: 32.69 kB / 435.8 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.2658, allocations: 178.6 kB / 436 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.2659, allocations: 16.81 kB / 436 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.2659, allocations: 24.38 kB / 436.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005023/0.2664, allocations: 255.7 kB / 436.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.2664, allocations: 4 kB / 436.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2665, allocations: 11.94 kB / 436.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2665, allocations: 4 kB / 436.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.2669, allocations: 157.6 kB / 436.5 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.2682, allocations: 0.7508 MB / 437.2 MB, free: 344 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.2686, allocations: 142.6 kB / 437.4 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.2688, allocations: 80.05 kB / 437.4 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.2688, allocations: 0 / 437.4 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.2688, allocations: 38.5 kB / 437.5 MB, free: 64 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.2688, allocations: 3.938 kB / 437.5 MB, free: 60 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009375/0.2698, allocations: 254.3 kB / 437.7 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.2698, allocations: 55.41 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.27, allocations: 179.2 kB / 438 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.2701, allocations: 29.7 kB / 438 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.2702, allocations: 156.4 kB / 438.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.2703, allocations: 51.53 kB / 438.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.099e-05/0.2703, allocations: 41.7 kB / 438.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2705, allocations: 326.8 kB / 438.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.2707, allocations: 55.95 kB / 438.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.2708, allocations: 92.27 kB / 438.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.2712, allocations: 136.2 kB / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2712, allocations: 0 / 438.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004844/0.2716, allocations: 232.5 kB / 439.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.2717, allocations: 4 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2717, allocations: 3.938 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.2719, allocations: 32.84 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.272, allocations: 39.91 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/0.2734, allocations: 1.362 MB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.2736, allocations: 35.8 kB / 440.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.2736, allocations: 8 kB / 440.5 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.0001415/0.2737, allocations: 129.8 kB / 440.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.2738, allocations: 15.91 kB / 440.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.2738, allocations: 25.8 kB / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.2738, allocations: 0 / 440.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2738, allocations: 12 kB / 440.7 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2738, allocations: 3.938 kB / 440.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008297/0.2747, allocations: 482.2 kB / 441.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2747, allocations: 0 / 441.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.2748, allocations: 27.97 kB / 441.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001113/0.2749, allocations: 28.84 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.2749, allocations: 4 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.2762, allocations: 1.377 MB / 442.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2762, allocations: 0 / 442.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006428/0.2768, allocations: 355.2 kB / 443 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.995e-05/0.2769, allocations: 27.86 kB / 443 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.2769, allocations: 0 / 443 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.2771, allocations: 24.11 kB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.2772, allocations: 23.95 kB / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.2772, allocations: 0 / 443.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001203/0.2773, allocations: 132.3 kB / 443.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2773, allocations: 0 / 443.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.2776, allocations: 59.89 kB / 443.2 MB, free: 9.883 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.00107/0.2787, allocations: 0.8849 MB / 444.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005606/0.2793, allocations: 250.5 kB / 444.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2793, allocations: 0 / 444.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.2795, allocations: 194.9 kB / 444.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.2799, allocations: 31.86 kB / 444.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003162/0.2831, allocations: 2.229 MB / 446.8 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001352/0.2832, allocations: 121.2 kB / 446.9 MB, free: 6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.757e-05/0.2833, allocations: 17.48 kB / 447 MB, free: 5.984 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.2834, allocations: 55.41 kB / 447 MB, free: 5.93 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2834, allocations: 0 / 447 MB, free: 5.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.3218, allocations: 5.239 MB / 452.2 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.05, allocations: 11.83 kB / 452.3 MB, free: 0.8594 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.833925242070109]