Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001366/0.001366, 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.001469/0.001469, 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.48/1.48, 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.2305/0.2305, allocations: 46.93 MB / 361.6 MB, free: 4.203 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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",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.002296/0.002296, allocations: 79.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3727, allocations: 66.09 MB / 0.5616 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003959/0.3766, allocations: 1.932 MB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002122/0.3788, allocations: 1.15 MB / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.3789, allocations: 11.94 kB / 0.5646 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005308/0.3794, allocations: 219.4 kB / 0.5648 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.3799, allocations: 223.2 kB / 0.565 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.3802, allocations: 119.6 kB / 0.5651 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.3805, allocations: 255.3 kB / 0.5654 GB, free: 260 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.3807, allocations: 27.91 kB / 0.5654 GB, free: 232 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.3809, allocations: 127.5 kB / 0.5655 GB, free: 104 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.3811, allocations: 171.4 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3812, allocations: 8 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3813, allocations: 59.98 kB / 0.5658 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3814, allocations: 67.69 kB / 0.5658 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.3815, allocations: 91.3 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003668/0.3819, allocations: 238.8 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3819, allocations: 4 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3819, allocations: 0 / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.224e-05/0.3819, allocations: 4 kB / 0.5662 GB, free: 15.47 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.0008382/0.3827, allocations: 0.508 MB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3828, allocations: 8.031 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.3828, allocations: 34.75 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.3829, allocations: 32.75 kB / 0.5667 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3833, allocations: 230.4 kB / 0.5669 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.3833, allocations: 8.359 kB / 0.5669 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3834, allocations: 12.38 kB / 0.567 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.3836, allocations: 118.6 kB / 0.5671 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.3836, allocations: 4 kB / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3837, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3837, allocations: 0 / 0.5671 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3838, allocations: 59.88 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006235/0.3844, allocations: 439.9 kB / 0.5676 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.3849, allocations: 117.2 kB / 0.5677 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.385, allocations: 41.83 kB / 0.5677 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.385, allocations: 4.156 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.3853, allocations: 124.9 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3853, allocations: 0 / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001408/0.3867, allocations: 0.5082 MB / 0.5683 GB, free: 13.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.3867, allocations: 77.11 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.3873, allocations: 444.5 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.028e-05/0.3873, allocations: 37.69 kB / 0.5689 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.3875, allocations: 160.5 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.3876, allocations: 63.44 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.3876, allocations: 45.7 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3878, allocations: 346.8 kB / 0.5694 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.388, allocations: 59.97 kB / 0.5695 GB, free: 11.81 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3881, allocations: 96.16 kB / 0.5696 GB, free: 11.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.3884, allocations: 167.3 kB / 0.5698 GB, free: 11.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3884, allocations: 4 kB / 0.5698 GB, free: 11.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004145/0.3888, allocations: 229.5 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3889, allocations: 10.19 kB / 0.57 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.3889, allocations: 3.938 kB / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.3889, allocations: 0 / 0.57 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.389, allocations: 47.91 kB / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.389, allocations: 0 / 0.57 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.3891, allocations: 11.95 kB / 0.57 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.3891, allocations: 13.23 kB / 0.5701 GB, free: 11.21 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.0001939/0.3893, allocations: 173.7 kB / 0.5702 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3894, allocations: 31.81 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005231/0.3899, allocations: 264.2 kB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3899, allocations: 7.984 kB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3899, allocations: 0 / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3899, allocations: 0 / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009526/0.3909, allocations: 0.7106 MB / 0.5712 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3909, allocations: 3.938 kB / 0.5712 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.354e-05/0.391, allocations: 32.17 kB / 0.5712 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.391, allocations: 0 / 0.5712 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.391, allocations: 15.92 kB / 0.5713 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.391, allocations: 0 / 0.5713 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.391, allocations: 8.125 kB / 0.5713 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005317/0.3915, allocations: 421.8 kB / 0.5717 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.3916, allocations: 39.75 kB / 0.5717 GB, free: 9.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.3916, allocations: 8 kB / 0.5717 GB, free: 9.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.3917, allocations: 11.94 kB / 0.5717 GB, free: 9.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.429e-05/0.3918, allocations: 27.84 kB / 0.5718 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.3918, allocations: 11.98 kB / 0.5718 GB, free: 9.355 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003635/0.3922, allocations: 335 kB / 0.5721 GB, free: 9.027 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3922, allocations: 0 / 0.5721 GB, free: 9.027 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004291/0.3926, allocations: 47.94 kB / 0.5721 GB, free: 8.98 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.002559/0.3952, allocations: 1.348 MB / 0.5734 GB, free: 7.777 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003557/0.3955, allocations: 151.7 kB / 0.5736 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3955, allocations: 0 / 0.5736 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3957, allocations: 75.84 kB / 0.5737 GB, free: 7.555 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.3962, allocations: 75.3 kB / 0.5737 GB, free: 7.488 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/0.3998, allocations: 2.881 MB / 0.5765 GB, free: 4.484 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.4003, allocations: 0.7792 MB / 0.5773 GB, free: 3.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.4004, allocations: 41.92 kB / 0.5773 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.4006, allocations: 91.41 kB / 0.5774 GB, free: 3.547 MB / 414.1 MB Notification: Performance of SimCode: time 5.42e-07/0.4006, allocations: 0 / 0.5774 GB, free: 3.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.4348, allocations: 6.586 MB / 0.5839 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.318/8.753, allocations: 8.766 kB / 0.5839 GB, free: 12.97 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_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_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.785877416841686] 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.89273716090247 8.907863464 8.52289747 Calling exit ...