Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.0008384/0.0008384, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0007992/0.0007992, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9192/0.9192, allocations: 177 MB / 204.1 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.163e-05, allocations: 6.219 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.003004/0.003025, allocations: 2.838 MB / 327.3 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.004427, allocations: 0.9901 MB / 328.3 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.004628, allocations: 23.81 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002074/0.004836, allocations: 91.05 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.004986, allocations: 106.9 kB / 328.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.00545, allocations: 227.5 kB / 328.8 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000471/0.005921, allocations: 0.5602 MB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.006144, allocations: 143.2 kB / 329.5 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002967/0.006441, allocations: 271.4 kB / 329.7 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.006596, allocations: 119.5 kB / 329.8 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.006636, allocations: 36 kB / 329.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.006737, allocations: 63.86 kB / 329.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.006782, allocations: 91.59 kB / 330 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.724e-05/0.006869, allocations: 139.6 kB / 330.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005751/0.007445, allocations: 0.5722 MB / 330.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.007449, allocations: 0 / 330.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.00745, allocations: 0 / 330.7 MB, free: 9.648 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.007458, allocations: 3.938 kB / 330.7 MB, free: 9.645 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0006864/0.008144, allocations: 0.6881 MB / 331.4 MB, free: 8.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.008186, allocations: 11.98 kB / 331.4 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.008245, allocations: 78.7 kB / 331.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.008387, allocations: 72.12 kB / 331.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.008844, allocations: 355.5 kB / 331.9 MB, free: 8.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.008865, allocations: 29 kB / 332 MB, free: 8.344 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.578e-05/0.00891, allocations: 39.95 kB / 332 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.009388, allocations: 487.4 kB / 332.5 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.009405, allocations: 7.922 kB / 332.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.00943, allocations: 24 kB / 332.5 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.009441, allocations: 15.98 kB / 332.5 MB, free: 7.703 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.009751, allocations: 242.2 kB / 332.8 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00199/0.01174, allocations: 2.673 MB / 335.4 MB, free: 4.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.01208, allocations: 150.6 kB / 335.6 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.01216, allocations: 68.81 kB / 335.7 MB, free: 4.434 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.13e-05/0.01225, allocations: 8 kB / 335.7 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.01226, allocations: 34.84 kB / 335.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/0.01227, allocations: 0 / 335.7 MB, free: 4.383 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008736/0.01314, allocations: 0.5662 MB / 336.3 MB, free: 3.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.01317, allocations: 55.41 kB / 336.3 MB, free: 3.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.0134, allocations: 357.5 kB / 336.7 MB, free: 3.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.01342, allocations: 33.7 kB / 336.7 MB, free: 3.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.01355, allocations: 303.7 kB / 337 MB, free: 3.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.01358, allocations: 71.45 kB / 337.1 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.01365, allocations: 65.61 kB / 337.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.01374, allocations: 350.8 kB / 337.5 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.01383, allocations: 63.75 kB / 337.5 MB, free: 2.465 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.01398, allocations: 223.6 kB / 337.8 MB, free: 2.176 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0005662/0.01454, allocations: 438.2 kB / 338.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.01455, allocations: 8 kB / 338.2 MB, free: 1.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003461/0.01489, allocations: 362 kB / 338.5 MB, free: 1.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01491, allocations: 8 kB / 338.5 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.01492, allocations: 4 kB / 338.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.01503, allocations: 36.84 kB / 338.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01517, allocations: 79.83 kB / 338.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008884/0.01605, allocations: 1.52 MB / 340.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.209e-05/0.01615, allocations: 16.25 kB / 340.2 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.01616, allocations: 23.98 kB / 340.2 MB, free: 15.51 MB / 314.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0001558/0.01632, allocations: 173.6 kB / 340.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.838e-05/0.01636, allocations: 35.77 kB / 340.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.0164, allocations: 39.47 kB / 340.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.0164, allocations: 4 kB / 340.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.0164, allocations: 0 / 340.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.01641, allocations: 3.984 kB / 340.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005895/0.017, allocations: 0.6086 MB / 341.1 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.017, allocations: 4 kB / 341.1 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.408e-05/0.0171, allocations: 31.92 kB / 341.1 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/0.01742, allocations: 24.84 kB / 341.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01744, allocations: 8 kB / 341.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005948/0.01803, allocations: 1.331 MB / 342.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01803, allocations: 0 / 342.5 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.01835, allocations: 369.3 kB / 342.8 MB, free: 12.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.453e-05/0.01838, allocations: 27.77 kB / 342.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.01839, allocations: 4 kB / 342.9 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.01845, allocations: 12.03 kB / 342.9 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.01848, allocations: 7.984 kB / 342.9 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.01849, allocations: 4 kB / 342.9 MB, free: 12.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.01864, allocations: 239.2 kB / 343.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01864, allocations: 0 / 343.1 MB, free: 12.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002812/0.01892, allocations: 68 kB / 343.2 MB, free: 12.33 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004937/0.01942, allocations: 0.8972 MB / 344.1 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.01981, allocations: 303.7 kB / 344.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01981, allocations: 4 kB / 344.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.01993, allocations: 174.6 kB / 344.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.02019, allocations: 44.09 kB / 344.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.02289, allocations: 3.281 MB / 347.9 MB, free: 7.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.02303, allocations: 219.1 kB / 348.1 MB, free: 7.117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.265e-05/0.02311, allocations: 35.27 kB / 348.1 MB, free: 7.082 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/0.0237, allocations: 160.4 kB / 348.3 MB, free: 6.926 MB / 314.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0237, allocations: 0 / 348.3 MB, free: 6.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.04481, allocations: 7.068 MB / 355.4 MB, free: 4 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.323, allocations: 0 / 355.4 MB, free: 4 kB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/HeatTransfer/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable directCapacity.heatCapacitor.T in file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv. Warning: Get data of variable directCapacity.heatCapacitor.T from file Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.091108935885131]