Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009124/0.0009124, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.834/0.834, allocations: 173.4 MB / 200.4 MB, free: 9.418 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.676e-06/2.676e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.626e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.002999/0.003025, allocations: 2.373 MB / 320.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009486/0.003974, allocations: 0.6195 MB / 321.4 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.004093, allocations: 4 kB / 321.4 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.004223, allocations: 31.66 kB / 321.4 MB, free: 3.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.004336, allocations: 83.2 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.004598, allocations: 71.84 kB / 321.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000232/0.00483, allocations: 270.6 kB / 321.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.004992, allocations: 71.88 kB / 321.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.005137, allocations: 151.7 kB / 322.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.005238, allocations: 87.69 kB / 322.2 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.005265, allocations: 20 kB / 322.2 MB, free: 2.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.005327, allocations: 28 kB / 322.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.005359, allocations: 43.83 kB / 322.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.005419, allocations: 83.77 kB / 322.3 MB, free: 2.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.00566, allocations: 267.2 kB / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.005662, allocations: 0 / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005663, allocations: 0 / 322.6 MB, free: 2.148 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.005668, allocations: 4 kB / 322.6 MB, free: 2.145 MB / 282.7 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.0006319/0.0063, allocations: 481.7 kB / 323.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.006341, allocations: 8.922 kB / 323.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.006415, allocations: 59.23 kB / 323.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.006502, allocations: 32.78 kB / 323.2 MB, free: 1.539 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.006746, allocations: 173.9 kB / 323.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.006759, allocations: 12.88 kB / 323.3 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.006787, allocations: 20.38 kB / 323.4 MB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.007092, allocations: 261 kB / 323.6 MB, free: 1.035 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.007103, allocations: 4.188 kB / 323.6 MB, free: 1.031 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.007122, allocations: 12.12 kB / 323.6 MB, free: 1.02 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.007129, allocations: 4 kB / 323.6 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.007352, allocations: 161.8 kB / 323.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.008165, allocations: 0.7399 MB / 324.5 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.008438, allocations: 154.5 kB / 324.7 MB, free: 15.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.008538, allocations: 68.83 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.008551, allocations: 4 kB / 324.8 MB, free: 15.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.008571, allocations: 38.55 kB / 324.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.008572, allocations: 0 / 324.8 MB, free: 15.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005272/0.009099, allocations: 261.4 kB / 325.1 MB, free: 15.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.009129, allocations: 59.41 kB / 325.1 MB, free: 15.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.009244, allocations: 170.8 kB / 325.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.009259, allocations: 29.7 kB / 325.3 MB, free: 15.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.09e-05/0.00933, allocations: 160.3 kB / 325.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.009361, allocations: 55.61 kB / 325.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.009408, allocations: 37.72 kB / 325.6 MB, free: 14.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.284e-05/0.009491, allocations: 326.8 kB / 325.9 MB, free: 14.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.009577, allocations: 55.91 kB / 325.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.009682, allocations: 99.19 kB / 326 MB, free: 14.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.009855, allocations: 146.8 kB / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009856, allocations: 0 / 326.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002709/0.01013, allocations: 214.3 kB / 326.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.01014, allocations: 7.938 kB / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01015, allocations: 0 / 326.4 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.01029, allocations: 36.83 kB / 326.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.086e-05/0.01037, allocations: 35.92 kB / 326.5 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007635/0.01113, allocations: 1.354 MB / 327.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.614e-05/0.01122, allocations: 36.05 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.01123, allocations: 12.14 kB / 327.9 MB, free: 12.51 MB / 298.7 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.14e-05/0.01132, allocations: 137.8 kB / 328 MB, free: 12.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.01135, allocations: 15.91 kB / 328 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.01137, allocations: 21.81 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.01137, allocations: 0 / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.01138, allocations: 4 kB / 328 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.01138, allocations: 7.984 kB / 328 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.01194, allocations: 478.2 kB / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01194, allocations: 0 / 328.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.488e-05/0.01203, allocations: 35.86 kB / 328.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.522e-05/0.0121, allocations: 28.78 kB / 328.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.01212, allocations: 8 kB / 328.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007386/0.01286, allocations: 1.354 MB / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01286, allocations: 0 / 329.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.01323, allocations: 352 kB / 330.3 MB, free: 9.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.01328, allocations: 23.92 kB / 330.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.01329, allocations: 3.938 kB / 330.3 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.01339, allocations: 28.23 kB / 330.3 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.01344, allocations: 23.95 kB / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.583e-06/0.01345, allocations: 0 / 330.4 MB, free: 9.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.305e-05/0.01352, allocations: 132.3 kB / 330.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01352, allocations: 0 / 330.5 MB, free: 9.684 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.01374, allocations: 63.84 kB / 330.5 MB, free: 9.621 MB / 298.7 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.0005239/0.01427, allocations: 0.8948 MB / 331.4 MB, free: 8.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003318/0.0146, allocations: 254.4 kB / 331.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0146, allocations: 0 / 331.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.01474, allocations: 190.8 kB / 331.9 MB, free: 8.242 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.01497, allocations: 47.84 kB / 331.9 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.01682, allocations: 2.172 MB / 334.1 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.0169, allocations: 129.2 kB / 334.2 MB, free: 5.762 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.01697, allocations: 21.47 kB / 334.2 MB, free: 5.742 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.138e-05/0.01704, allocations: 56.47 kB / 334.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01704, allocations: 0 / 334.3 MB, free: 5.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.03631, allocations: 5.401 MB / 339.7 MB, free: 464 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.189, allocations: 7.797 kB / 339.7 MB, free: 456 kB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/HeatTransfer/Examples/ControlledTemperature/ControlledTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable heatCapacitor.T from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! Error: Could not read variable onOffController.y in file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv. Warning: Get data of variable onOffController.y from file Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.955180888995528]