Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001692/0.001692, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00205/0.00205, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.509/1.509, allocations: 230.5 MB / 258.2 MB, free: 8.012 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.2356/0.2356, 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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.002288/0.002288, allocations: 75.88 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3741, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003706/0.3778, allocations: 1.741 MB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003107/0.3809, allocations: 1.745 MB / 0.565 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.381, allocations: 3.938 kB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.3813, allocations: 35.77 kB / 0.565 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003118/0.3816, allocations: 99.53 kB / 0.5651 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3818, allocations: 79.67 kB / 0.5652 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.382, allocations: 119.7 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.907e-05/0.3821, allocations: 9.969 kB / 0.5653 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.3823, allocations: 55.72 kB / 0.5654 GB, free: 380 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001647/0.3824, allocations: 47.83 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.3824, allocations: 4 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3826, allocations: 115.9 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.631e-05/0.3827, allocations: 23.91 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.3828, allocations: 39.73 kB / 0.5656 GB, free: 148 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003321/0.3831, allocations: 171.5 kB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3831, allocations: 0 / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3831, allocations: 4 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.3831, allocations: 0 / 0.5658 GB, free: 15.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006166/0.3837, allocations: 369.3 kB / 0.5661 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3838, allocations: 12.03 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.3838, allocations: 34.75 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.3839, allocations: 8.891 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.3842, allocations: 158.3 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3842, allocations: 384 / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.3843, allocations: 4.375 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3845, allocations: 83.44 kB / 0.5664 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.3845, allocations: 7.953 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3845, allocations: 3.984 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3845, allocations: 4 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.274e-05/0.3846, allocations: 23.98 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.385, allocations: 271.9 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.3852, allocations: 62.62 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.951e-05/0.3853, allocations: 32.78 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3853, allocations: 8.062 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.3855, allocations: 75.36 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3855, allocations: 0 / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006062/0.3861, allocations: 193.3 kB / 0.567 GB, free: 14.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3861, allocations: 81.11 kB / 0.5671 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.3863, allocations: 175.1 kB / 0.5673 GB, free: 14.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3864, allocations: 25.8 kB / 0.5673 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.219e-05/0.3864, allocations: 104.1 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3865, allocations: 39.67 kB / 0.5674 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/0.3865, allocations: 25.72 kB / 0.5675 GB, free: 14.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.3867, allocations: 322.8 kB / 0.5678 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.183e-05/0.3868, allocations: 27.98 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.3869, allocations: 50.56 kB / 0.5679 GB, free: 13.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.387, allocations: 65.69 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/0.387, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002148/0.3872, allocations: 121.5 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3872, allocations: 6.5 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.3872, allocations: 0 / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3872, allocations: 4.062 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.3873, allocations: 19.98 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3873, allocations: 4 kB / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.75e-05/0.3874, allocations: 0 / 0.5681 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3874, allocations: 4 kB / 0.5681 GB, free: 13.36 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 (11): * Single equations (assignments): 11 * 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.000112/0.3875, allocations: 125.8 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3875, allocations: 7.953 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.3878, allocations: 126.3 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.3878, allocations: 4 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.3878, allocations: 12.12 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3878, allocations: 0 / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.3884, allocations: 394.2 kB / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3884, allocations: 0 / 0.5687 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.945e-05/0.3884, allocations: 11.94 kB / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3884, allocations: 0 / 0.5687 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3884, allocations: 11.98 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.3884, allocations: 3.938 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3884, allocations: 4.031 kB / 0.5687 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3887, allocations: 216.3 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3887, allocations: 11.91 kB / 0.569 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.3887, allocations: 11.98 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.602e-05/0.3888, allocations: 3.938 kB / 0.569 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.3888, allocations: 7.984 kB / 0.569 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3889, allocations: 12 kB / 0.569 GB, free: 12.33 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.389, allocations: 127.2 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.389, allocations: 0 / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.3893, allocations: 47.86 kB / 0.5692 GB, free: 12.16 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 (9): * Single equations (assignments): 7 * 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.002366/0.3917, allocations: 1.184 MB / 0.5703 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3919, allocations: 63.8 kB / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3919, allocations: 0 / 0.5704 GB, free: 11.07 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.365e-05/0.3919, allocations: 35.92 kB / 0.5704 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3923, allocations: 42.72 kB / 0.5705 GB, free: 11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.3942, allocations: 1.649 MB / 0.5721 GB, free: 9.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3945, allocations: 0.7006 MB / 0.5728 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.3946, allocations: 32.55 kB / 0.5728 GB, free: 8.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.3947, allocations: 43.41 kB / 0.5728 GB, free: 8.449 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3947, allocations: 0 / 0.5728 GB, free: 8.449 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4241, allocations: 4.278 MB / 0.577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.973/8.397, allocations: 3.984 kB / 0.577 GB, free: 4.152 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.550686906091869] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y'] 8.57676911400631 8.602373777 8.214978088 Calling exit ...