Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 118.2 kB / 17.79 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001514/0.001514, allocations: 197.2 kB / 18.73 MB, free: 4.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.236/0.236, allocations: 46.12 MB / 344.4 MB, free: 11.48 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 79.86 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3755, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.003201/0.3788, allocations: 1.634 MB / 0.5322 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.3798, allocations: 0.5392 MB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.3799, allocations: 1.125 kB / 0.5327 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.3802, allocations: 81.08 kB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002982/0.3805, allocations: 102.3 kB / 0.5329 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.3809, allocations: 111.5 kB / 0.533 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3811, allocations: 91.39 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3812, allocations: 14.22 kB / 0.5331 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.3812, allocations: 35.27 kB / 0.5332 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3814, allocations: 64.22 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3814, allocations: 3.094 kB / 0.5332 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3815, allocations: 45.23 kB / 0.5333 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.584e-05/0.3816, allocations: 24.58 kB / 0.5333 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.652e-05/0.3816, allocations: 33.45 kB / 0.5333 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3818, allocations: 109.8 kB / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3818, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3818, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3818, allocations: 0 / 0.5334 GB, free: 11.29 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005556/0.3824, allocations: 420 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3825, allocations: 9.188 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.09e-05/0.3825, allocations: 40.27 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.3825, allocations: 14.88 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3828, allocations: 207.3 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-06/0.3828, allocations: 1.875 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3828, allocations: 3.156 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.383, allocations: 55.53 kB / 0.5341 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.383, allocations: 3.984 kB / 0.5342 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.383, allocations: 7.984 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.383, allocations: 0.8438 kB / 0.5342 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.3831, allocations: 27.83 kB / 0.5342 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.3836, allocations: 308.4 kB / 0.5345 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3837, allocations: 40.44 kB / 0.5345 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.3838, allocations: 25.19 kB / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.3838, allocations: 0 / 0.5345 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.3839, allocations: 31.94 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3839, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009773/0.3849, allocations: 245.9 kB / 0.5348 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.3849, allocations: 52.78 kB / 0.5349 GB, free: 9.891 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3851, allocations: 219.2 kB / 0.5351 GB, free: 9.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.3852, allocations: 25.7 kB / 0.5351 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/0.3853, allocations: 107 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.3853, allocations: 26.58 kB / 0.5352 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.259e-05/0.3854, allocations: 28.56 kB / 0.5352 GB, free: 9.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.3855, allocations: 329.6 kB / 0.5356 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.3856, allocations: 28.48 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.601e-05/0.3857, allocations: 33.84 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000174/0.3859, allocations: 72.8 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3859, allocations: 1.375 kB / 0.5357 GB, free: 9.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.3862, allocations: 112.3 kB / 0.5358 GB, free: 9.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3862, allocations: 9.375 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3862, allocations: 3.984 kB / 0.5358 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.3862, allocations: 4.906 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.3863, allocations: 14.22 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3863, allocations: 7.922 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.3864, allocations: 3.781 kB / 0.5358 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3864, allocations: 2.188 kB / 0.5358 GB, free: 9.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001118/0.3865, allocations: 128.7 kB / 0.536 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.3866, allocations: 17.22 kB / 0.536 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3869, allocations: 134.7 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3869, allocations: 0.7812 kB / 0.5361 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3869, allocations: 7.875 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3869, allocations: 1.094 kB / 0.5361 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.3875, allocations: 422.7 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3876, allocations: 1.094 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.3877, allocations: 21.7 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.3877, allocations: 1.125 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3877, allocations: 1.156 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3877, allocations: 1.156 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3877, allocations: 1.281 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.388, allocations: 216.4 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.3881, allocations: 96.41 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.3881, allocations: 1.125 kB / 0.5368 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.591e-05/0.3882, allocations: 7.344 kB / 0.5369 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3882, allocations: 7.453 kB / 0.5369 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3883, allocations: 6.328 kB / 0.5369 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.3884, allocations: 164.1 kB / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3884, allocations: 0 / 0.537 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.3887, allocations: 26.78 kB / 0.537 GB, free: 8 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00231/0.391, allocations: 1.101 MB / 0.5381 GB, free: 7.137 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.3913, allocations: 76.7 kB / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3913, allocations: 0 / 0.5382 GB, free: 7.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.3914, allocations: 44.03 kB / 0.5382 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.3918, allocations: 17.94 kB / 0.5383 GB, free: 7.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.3942, allocations: 1.71 MB / 0.5399 GB, free: 5.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004076/0.3947, allocations: 0.7152 MB / 0.5406 GB, free: 4.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3948, allocations: 21.48 kB / 0.5406 GB, free: 4.895 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.3949, allocations: 37.14 kB / 0.5407 GB, free: 4.863 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3949, allocations: 0 / 0.5407 GB, free: 4.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4216, allocations: 3.168 MB / 0.5438 GB, free: 3.152 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.485, allocations: 10.14 kB / 0.5438 GB, free: 3.145 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1)