Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.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.00178/0.00178, 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.002027/0.002027, 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.505/1.505, allocations: 230.5 MB / 258.2 MB, free: 8.004 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.2628/0.2628, allocations: 46.93 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 179] 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.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75",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.00239/0.00239, allocations: 79.88 kB / 0.4971 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3676, allocations: 66.08 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00345/0.371, allocations: 1.928 MB / 0.5635 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3733, allocations: 1.158 MB / 0.5646 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.3734, allocations: 3.938 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006362/0.374, allocations: 227.3 kB / 0.5648 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006849/0.3747, allocations: 223.2 kB / 0.565 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3752, allocations: 115.6 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005104/0.3757, allocations: 255.3 kB / 0.5654 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3758, allocations: 27.86 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002623/0.3761, allocations: 119.6 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.3764, allocations: 175.4 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.3764, allocations: 8 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.3767, allocations: 64.12 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.3768, allocations: 67.69 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.3769, allocations: 91.23 kB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004689/0.3774, allocations: 246.7 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3774, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3774, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3774, allocations: 0 / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001028/0.3784, allocations: 0.5041 MB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3785, allocations: 8.031 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.897e-05/0.3785, allocations: 46.73 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.3786, allocations: 28.75 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.3792, allocations: 234.4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3792, allocations: 4.375 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.3792, allocations: 8.375 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003383/0.3796, allocations: 115.4 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3796, allocations: 0 / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.3796, allocations: 3.984 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.3796, allocations: 8 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000201/0.3798, allocations: 55.88 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/0.3806, allocations: 439.9 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005078/0.3811, allocations: 121.2 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3813, allocations: 41.81 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.3813, allocations: 4 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.3816, allocations: 117.2 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.3816, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001861/0.3835, allocations: 0.5092 MB / 0.5683 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.3835, allocations: 85.09 kB / 0.5684 GB, free: 13.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006995/0.3842, allocations: 440.5 kB / 0.5688 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3843, allocations: 29.7 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/0.3845, allocations: 164.5 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3846, allocations: 75.42 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.3847, allocations: 41.7 kB / 0.5691 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.3849, allocations: 342.8 kB / 0.5694 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3851, allocations: 59.98 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/0.3853, allocations: 100.1 kB / 0.5696 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/0.3857, allocations: 159.3 kB / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3857, allocations: 0 / 0.5697 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006018/0.3863, allocations: 233.3 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.3864, allocations: 6.188 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3864, allocations: 3.938 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3864, allocations: 8.062 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3866, allocations: 43.92 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3866, allocations: 4 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.3867, allocations: 11.94 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.3868, allocations: 15.94 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002267/0.387, allocations: 165.7 kB / 0.5702 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.3871, allocations: 31.81 kB / 0.5703 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.3878, allocations: 276.7 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.3878, allocations: 4 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3878, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3878, allocations: 0 / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.3892, allocations: 0.7107 MB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3892, allocations: 4.031 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.3893, allocations: 31.92 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3893, allocations: 4 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.3893, allocations: 8 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.3894, allocations: 4 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3894, allocations: 0 / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007062/0.3901, allocations: 429.8 kB / 0.5717 GB, free: 9.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.3901, allocations: 27.77 kB / 0.5717 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.628e-05/0.3902, allocations: 11.94 kB / 0.5717 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.3904, allocations: 11.98 kB / 0.5717 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.3905, allocations: 27.84 kB / 0.5717 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3905, allocations: 12 kB / 0.5718 GB, free: 9.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005474/0.3911, allocations: 331 kB / 0.5721 GB, free: 9.152 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3911, allocations: 0 / 0.5721 GB, free: 9.152 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000464/0.3915, allocations: 51.92 kB / 0.5721 GB, free: 9.102 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.003436/0.395, allocations: 1.347 MB / 0.5734 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005421/0.3955, allocations: 159.7 kB / 0.5736 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3955, allocations: 4.125 kB / 0.5736 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.3958, allocations: 67.84 kB / 0.5737 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008043/0.3966, allocations: 71.48 kB / 0.5737 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.4016, allocations: 2.89 MB / 0.5766 GB, free: 4.598 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005972/0.4022, allocations: 0.7713 MB / 0.5773 GB, free: 3.801 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001235/0.4023, allocations: 37.94 kB / 0.5773 GB, free: 3.762 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002309/0.4026, allocations: 99.39 kB / 0.5774 GB, free: 3.664 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4026, allocations: 0 / 0.5774 GB, free: 3.664 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03958/0.4421, allocations: 6.599 MB / 0.5839 GB, free: 13.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.347/8.789, allocations: 4.703 kB / 0.5839 GB, free: 13.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.97067565890029] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.932373240124434 8.956063109 8.574334308 Calling exit ...