Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001649/0.001649, allocations: 117.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 184.2 kB / 18.72 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2158/0.2158, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002667, allocations: 59.91 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3854, allocations: 60.84 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002776/0.3882, allocations: 1.817 MB / 0.5202 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.3895, allocations: 0.8576 MB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.3896, allocations: 1.125 kB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.3898, allocations: 61.33 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.3901, allocations: 77.84 kB / 0.5212 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004857/0.3906, allocations: 163.6 kB / 0.5214 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.3909, allocations: 191.7 kB / 0.5215 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3911, allocations: 25.28 kB / 0.5216 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.3912, allocations: 82.41 kB / 0.5216 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3913, allocations: 92.58 kB / 0.5217 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.19e-05/0.3914, allocations: 20.59 kB / 0.5218 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.3915, allocations: 48.92 kB / 0.5218 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.3916, allocations: 39.31 kB / 0.5218 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.129e-05/0.3917, allocations: 71.91 kB / 0.5219 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3919, allocations: 187.3 kB / 0.5221 GB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.392, allocations: 1.125 kB / 0.5221 GB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.392, allocations: 0 / 0.5221 GB, free: 0.957 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.392, allocations: 3.938 kB / 0.5221 GB, free: 0.9531 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001015/0.393, allocations: 0.5753 MB / 0.5226 GB, free: 452 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.393, allocations: 9.75 kB / 0.5227 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.3931, allocations: 39.48 kB / 0.5227 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.3931, allocations: 16.09 kB / 0.5227 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.3933, allocations: 235.8 kB / 0.5229 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3934, allocations: 3.812 kB / 0.5229 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.3934, allocations: 8.766 kB / 0.5229 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.3939, allocations: 150.9 kB / 0.5231 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3939, allocations: 1.906 kB / 0.5231 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.394, allocations: 0 / 0.5231 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.394, allocations: 1.188 kB / 0.5231 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.3948, allocations: 164.6 kB / 0.5233 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005572/0.3953, allocations: 369.2 kB / 0.5236 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.3962, allocations: 197 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.3966, allocations: 91.91 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.206e-05/0.3966, allocations: 1.469 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006182/0.3972, allocations: 161.1 kB / 0.524 GB, free: 15.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.3972, allocations: 3.938 kB / 0.524 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.003806/0.4011, allocations: 0.8222 MB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.4011, allocations: 59.14 kB / 0.5249 GB, free: 15.36 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.4014, allocations: 245.1 kB / 0.5251 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.4015, allocations: 28.45 kB / 0.5252 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4016, allocations: 132.3 kB / 0.5253 GB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.996e-05/0.4016, allocations: 37.19 kB / 0.5253 GB, free: 15.01 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.4017, allocations: 36.7 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.4019, allocations: 328.3 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.4027, allocations: 169.2 kB / 0.5258 GB, free: 14.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007236/0.4034, allocations: 165.2 kB / 0.526 GB, free: 14.5 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4048, allocations: 363.2 kB / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4049, allocations: 0 / 0.5263 GB, free: 14.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001642/0.4065, allocations: 465.6 kB / 0.5268 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.4066, allocations: 58.44 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4066, allocations: 0 / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.4066, allocations: 1.219 kB / 0.5268 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004187/0.407, allocations: 71.69 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.407, allocations: 1.188 kB / 0.5269 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.4075, allocations: 67.47 kB / 0.527 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.4075, allocations: 11.31 kB / 0.527 GB, free: 13.89 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.4077, allocations: 135 kB / 0.5271 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.4077, allocations: 20.86 kB / 0.5271 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.4093, allocations: 400.8 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4093, allocations: 9.078 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4093, allocations: 1.594 kB / 0.5275 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.4093, allocations: 3.984 kB / 0.5275 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002015/0.4113, allocations: 0.71 MB / 0.5282 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.4114, allocations: 4 kB / 0.5282 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003982/0.4118, allocations: 71.31 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4118, allocations: 1.219 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.4118, allocations: 5.25 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.353e-06/0.4118, allocations: 1.25 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4118, allocations: 7.938 kB / 0.5283 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.4136, allocations: 483.2 kB / 0.5288 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.4137, allocations: 93.39 kB / 0.5289 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.4137, allocations: 10.3 kB / 0.5289 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.4142, allocations: 65.69 kB / 0.5289 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001972/0.4144, allocations: 46.59 kB / 0.529 GB, free: 12.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.4144, allocations: 3.812 kB / 0.529 GB, free: 12.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002344/0.4146, allocations: 178.4 kB / 0.5291 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4146, allocations: 0 / 0.5291 GB, free: 12.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003416/0.415, allocations: 41.38 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003328/0.4183, allocations: 1.305 MB / 0.5305 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001823/0.4202, allocations: 475.6 kB / 0.5309 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4202, allocations: 0 / 0.5309 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007798/0.421, allocations: 184.5 kB / 0.5311 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.4214, allocations: 31.25 kB / 0.5311 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.4276, allocations: 2.807 MB / 0.5339 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.428, allocations: 0.7247 MB / 0.5346 GB, free: 8.254 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.4281, allocations: 22.5 kB / 0.5346 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.4283, allocations: 53.86 kB / 0.5346 GB, free: 8.199 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4283, allocations: 0 / 0.5346 GB, free: 8.199 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02804/0.4563, allocations: 5.635 MB / 0.5401 GB, free: 5.238 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.572, allocations: 5.047 kB / 0.5401 GB, free: 5.234 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33_res.csv --start-time 0 --stop-time 14 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0056 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)