Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001311/0.001311, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247 MB, free: 10.39 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.2322/0.2322, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002344/0.002344, allocations: 88.06 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3604, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003183/0.3636, allocations: 1.739 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3654, allocations: 1.033 MB / 0.5334 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.3655, allocations: 9.156 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.3659, allocations: 40.89 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.3662, allocations: 90.81 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.3664, allocations: 83.38 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3666, allocations: 107.8 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.3668, allocations: 10.28 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3669, allocations: 49.64 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.391e-05/0.367, allocations: 44.2 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.367, allocations: 5.5 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.3672, allocations: 116.4 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.989e-05/0.3673, allocations: 17.42 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.3674, allocations: 35.98 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000316/0.3677, allocations: 177 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3677, allocations: 3.984 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3677, allocations: 0 / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3677, allocations: 1.375 kB / 0.5342 GB, free: 10.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000647/0.3684, allocations: 438.1 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3684, allocations: 9.625 kB / 0.5346 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.3685, allocations: 36.12 kB / 0.5346 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3685, allocations: 18.33 kB / 0.5346 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.3688, allocations: 218.3 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3689, allocations: 1.75 kB / 0.5348 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.325e-05/0.3689, allocations: 6.688 kB / 0.5349 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3691, allocations: 66.52 kB / 0.5349 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.3691, allocations: 7.938 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3691, allocations: 0 / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3691, allocations: 1.375 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.986e-05/0.3692, allocations: 22.98 kB / 0.5349 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003784/0.3696, allocations: 274.8 kB / 0.5352 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.3698, allocations: 67.36 kB / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.08e-05/0.3698, allocations: 34.72 kB / 0.5353 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.3699, allocations: 3.984 kB / 0.5353 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.37, allocations: 67.89 kB / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3701, allocations: 0 / 0.5354 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005965/0.3707, allocations: 209.3 kB / 0.5356 GB, free: 9.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.3707, allocations: 78.64 kB / 0.5356 GB, free: 9.223 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3709, allocations: 172.4 kB / 0.5358 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3709, allocations: 26.95 kB / 0.5358 GB, free: 9.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.371, allocations: 100 kB / 0.5359 GB, free: 8.949 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.3711, allocations: 28.66 kB / 0.536 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.3711, allocations: 34.11 kB / 0.536 GB, free: 8.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3713, allocations: 322.1 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.513e-05/0.3713, allocations: 27.33 kB / 0.5363 GB, free: 8.562 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.3714, allocations: 58.62 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.3716, allocations: 75.97 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.3716, allocations: 1.094 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000234/0.3719, allocations: 123.2 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3719, allocations: 5.719 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3719, allocations: 0 / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3719, allocations: 1.25 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.372, allocations: 29.61 kB / 0.5366 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.372, allocations: 9 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.3721, allocations: 6.281 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3721, allocations: 3.625 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001147/0.3722, allocations: 124.5 kB / 0.5367 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3723, allocations: 13.69 kB / 0.5368 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3723, allocations: 12.19 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3723, allocations: 1.125 kB / 0.5368 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3724, allocations: 9.125 kB / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3724, allocations: 0 / 0.5368 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.3729, allocations: 434.4 kB / 0.5372 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3729, allocations: 5.5 kB / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.373, allocations: 9.031 kB / 0.5372 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.373, allocations: 5.094 kB / 0.5372 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.373, allocations: 5.312 kB / 0.5372 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.373, allocations: 1.188 kB / 0.5372 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.373, allocations: 5.438 kB / 0.5372 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3733, allocations: 211.3 kB / 0.5374 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.3734, allocations: 92.72 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.3734, allocations: 1.344 kB / 0.5375 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.817e-05/0.3735, allocations: 6.141 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3736, allocations: 9.031 kB / 0.5375 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.3736, allocations: 6.844 kB / 0.5375 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3737, allocations: 136.3 kB / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3737, allocations: 0 / 0.5377 GB, free: 7.398 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000316/0.374, allocations: 57.19 kB / 0.5377 GB, free: 7.375 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002466/0.3765, allocations: 1.194 MB / 0.5389 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3768, allocations: 81.47 kB / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3768, allocations: 0 / 0.539 GB, free: 6.441 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.3769, allocations: 42.52 kB / 0.539 GB, free: 6.422 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.3773, allocations: 36.88 kB / 0.539 GB, free: 6.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.3793, allocations: 1.665 MB / 0.5407 GB, free: 4.945 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3796, allocations: 0.7088 MB / 0.5414 GB, free: 4.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.376e-05/0.3797, allocations: 28.98 kB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.752e-05/0.3798, allocations: 37.8 kB / 0.5414 GB, free: 4.188 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3798, allocations: 1.219 kB / 0.5414 GB, free: 4.188 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4085, allocations: 4.224 MB / 0.5455 GB, free: 1.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.537, allocations: 16.86 kB / 0.5456 GB, free: 1.863 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)