Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.001103/0.001103, allocations: 108.8 kB / 17.78 MB, free: 5.281 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.001142/0.001142, allocations: 184.8 kB / 18.71 MB, free: 4.355 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.398/1.398, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.221/0.221, allocations: 44.19 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 67.89 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3758, allocations: 60.83 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003396/0.3792, allocations: 1.823 MB / 0.5202 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3807, allocations: 0.8753 MB / 0.5211 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3809, allocations: 5.312 kB / 0.5211 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.3812, allocations: 58.58 kB / 0.5211 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3816, allocations: 86.5 kB / 0.5212 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.3823, allocations: 205.9 kB / 0.5214 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003412/0.3826, allocations: 194.9 kB / 0.5216 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.3827, allocations: 23.88 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.3829, allocations: 89.73 kB / 0.5217 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3831, allocations: 100.3 kB / 0.5218 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.3832, allocations: 13.84 kB / 0.5218 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.3833, allocations: 40.2 kB / 0.5219 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.3835, allocations: 48.78 kB / 0.5219 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.3836, allocations: 79.25 kB / 0.522 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.384, allocations: 186.6 kB / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.384, allocations: 0 / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.384, allocations: 1.344 kB / 0.5222 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.384, allocations: 0 / 0.5222 GB, free: 0.9219 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.001162/0.3852, allocations: 0.576 MB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.3852, allocations: 9.781 kB / 0.5227 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3853, allocations: 38.52 kB / 0.5228 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.679e-05/0.3854, allocations: 18.16 kB / 0.5228 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.3856, allocations: 239.3 kB / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3856, allocations: 4.594 kB / 0.523 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.3857, allocations: 12.16 kB / 0.523 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.3862, allocations: 145.8 kB / 0.5232 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.3863, allocations: 0.9062 kB / 0.5232 GB, free: 60 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.3863, allocations: 4.516 kB / 0.5232 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.3863, allocations: 2.281 kB / 0.5232 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.3871, allocations: 167 kB / 0.5233 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.388, allocations: 434 kB / 0.5237 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/0.3889, allocations: 195.2 kB / 0.5239 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000401/0.3893, allocations: 98.23 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.3893, allocations: 1.188 kB / 0.524 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006599/0.39, allocations: 163.8 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.39, allocations: 4 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.004072/0.3941, allocations: 0.8449 MB / 0.525 GB, free: 15.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.3942, allocations: 58.09 kB / 0.5251 GB, free: 15.28 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.3945, allocations: 245.8 kB / 0.5253 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.3945, allocations: 35.08 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.253e-05/0.3946, allocations: 121.7 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.3947, allocations: 35.98 kB / 0.5255 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.52e-05/0.3948, allocations: 34.08 kB / 0.5255 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3949, allocations: 332.3 kB / 0.5258 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.3956, allocations: 175.9 kB / 0.526 GB, free: 14.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/0.3964, allocations: 181.3 kB / 0.5262 GB, free: 14.41 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.3978, allocations: 368.9 kB / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3978, allocations: 0 / 0.5265 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001638/0.3995, allocations: 483.4 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.3995, allocations: 61.62 kB / 0.5271 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3995, allocations: 5 kB / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3996, allocations: 0 / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.4, allocations: 73.06 kB / 0.5271 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.4, allocations: 4 kB / 0.5271 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.4005, allocations: 63 kB / 0.5272 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.4005, allocations: 3.719 kB / 0.5272 GB, free: 13.78 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.0001693/0.4007, allocations: 144.7 kB / 0.5273 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.914e-05/0.4008, allocations: 20.17 kB / 0.5274 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/0.4025, allocations: 412.5 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4025, allocations: 6.031 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4025, allocations: 0 / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.4025, allocations: 3.984 kB / 0.5278 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.4044, allocations: 0.7325 MB / 0.5285 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4044, allocations: 0 / 0.5285 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.4048, allocations: 67.56 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4048, allocations: 1.094 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.4048, allocations: 5.062 kB / 0.5285 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.4049, allocations: 5.062 kB / 0.5285 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4049, allocations: 0 / 0.5285 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.4064, allocations: 490 kB / 0.529 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.25e-05/0.4065, allocations: 105.2 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.4066, allocations: 6.469 kB / 0.5291 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.407, allocations: 61.25 kB / 0.5292 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/0.4072, allocations: 46.38 kB / 0.5292 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.4072, allocations: 11.61 kB / 0.5292 GB, free: 12.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001831/0.4074, allocations: 179.4 kB / 0.5294 GB, free: 12.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4074, allocations: 0 / 0.5294 GB, free: 12.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003192/0.4077, allocations: 45.59 kB / 0.5294 GB, free: 12.2 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.00283/0.4106, allocations: 1.328 MB / 0.5307 GB, free: 11.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.4123, allocations: 480.7 kB / 0.5312 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4123, allocations: 0 / 0.5312 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.4131, allocations: 195.8 kB / 0.5314 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.4135, allocations: 37.67 kB / 0.5314 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0061/0.4196, allocations: 2.872 MB / 0.5342 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.42, allocations: 0.7312 MB / 0.5349 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.4202, allocations: 26.03 kB / 0.535 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.4203, allocations: 61.25 kB / 0.535 GB, free: 8 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4203, allocations: 0 / 0.535 GB, free: 8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.448, allocations: 5.708 MB / 0.5406 GB, free: 5.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.863/8.311, allocations: 7.547 kB / 0.5406 GB, free: 5.004 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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_CombiTable2Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)