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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001489/0.001489, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.239/0.239, allocations: 46.92 MB / 361.6 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002281/0.002281, allocations: 79.88 kB / 0.497 GB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3585, allocations: 66.09 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003389/0.3618, allocations: 1.725 MB / 0.5633 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3637, allocations: 1.08 MB / 0.5643 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.3637, allocations: 3.938 kB / 0.5643 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.364, allocations: 35.77 kB / 0.5644 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.3644, allocations: 91.61 kB / 0.5645 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.3646, allocations: 83.66 kB / 0.5645 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.3648, allocations: 111.6 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3649, allocations: 13.95 kB / 0.5647 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.365, allocations: 55.77 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.3651, allocations: 35.84 kB / 0.5647 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3651, allocations: 8 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002032/0.3653, allocations: 119.9 kB / 0.5649 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.3654, allocations: 23.91 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.3654, allocations: 31.75 kB / 0.5649 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.3657, allocations: 183.3 kB / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3657, allocations: 0 / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3657, allocations: 0 / 0.5651 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.3657, allocations: 0 / 0.5651 GB, free: 0.6641 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.0006178/0.3664, allocations: 361.4 kB / 0.5654 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3664, allocations: 12.03 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.3665, allocations: 30.75 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.3665, allocations: 12.88 kB / 0.5655 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.3668, allocations: 158.3 kB / 0.5656 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3668, allocations: 4.375 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.3668, allocations: 4.375 kB / 0.5656 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.367, allocations: 83.45 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.367, allocations: 0 / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.3671, allocations: 3.984 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3671, allocations: 0 / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.3671, allocations: 16 kB / 0.5657 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003879/0.3675, allocations: 255.9 kB / 0.566 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3677, allocations: 66.55 kB / 0.5661 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.126e-05/0.3678, allocations: 24.97 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3678, allocations: 4 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.368, allocations: 75.36 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.368, allocations: 0 / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006024/0.3686, allocations: 209.2 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.96e-05/0.3687, allocations: 85.11 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.3689, allocations: 162.9 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.3689, allocations: 33.69 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.595e-05/0.3689, allocations: 96.14 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.369, allocations: 31.73 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.369, allocations: 29.66 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3692, allocations: 326.8 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.3692, allocations: 27.98 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.3693, allocations: 62.55 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3695, allocations: 73.64 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3695, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000235/0.3697, allocations: 117.6 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3697, allocations: 6.5 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3697, allocations: 0 / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3698, allocations: 8.062 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.3699, allocations: 23.92 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3699, allocations: 3.938 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.3699, allocations: 8 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3699, allocations: 11.92 kB / 0.5674 GB, free: 14.06 MB / 414.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.0001074/0.37, allocations: 118.2 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.3701, allocations: 15.91 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.3703, allocations: 126.3 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3703, allocations: 4 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3704, allocations: 3.984 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3704, allocations: 0 / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.3709, allocations: 410.3 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3709, allocations: 0 / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3709, allocations: 12 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3709, allocations: 3.938 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.3709, allocations: 4 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3709, allocations: 8.031 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3709, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.3712, allocations: 216.3 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.3712, allocations: 15.89 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.3713, allocations: 3.938 kB / 0.5683 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.836e-05/0.3713, allocations: 11.98 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.3714, allocations: 15.92 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3714, allocations: 4 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.3715, allocations: 131.2 kB / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3715, allocations: 0 / 0.5685 GB, free: 12.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003075/0.3718, allocations: 51.86 kB / 0.5685 GB, free: 12.84 MB / 414.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.002442/0.3743, allocations: 1.197 MB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.3745, allocations: 67.91 kB / 0.5697 GB, free: 11.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3745, allocations: 4.062 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.507e-05/0.3746, allocations: 35.92 kB / 0.5698 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3749, allocations: 32.14 kB / 0.5698 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3768, allocations: 1.665 MB / 0.5714 GB, free: 9.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.3772, allocations: 0.7045 MB / 0.5721 GB, free: 9.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.774e-05/0.3772, allocations: 28.41 kB / 0.5722 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/0.3773, allocations: 35.42 kB / 0.5722 GB, free: 9.113 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3773, allocations: 0 / 0.5722 GB, free: 9.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02654/0.4039, allocations: 4.329 MB / 0.5764 GB, free: 4.773 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.038/8.442, allocations: 8.062 kB / 0.5764 GB, free: 4.766 MB / 414.1 MB " [Timeout remaining time 651] (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.000799201 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.542701532132924] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.587830676697195 8.612938569 8.242030768 Calling exit ...