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.001347/0.001347, 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.001482/0.001482, allocations: 211.9 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.521/1.521, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2531/0.2531, allocations: 46.94 MB / 361.6 MB, free: 4.199 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.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.00234/0.00234, allocations: 79.86 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3746, allocations: 66.09 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003246/0.3778, allocations: 1.745 MB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.3797, allocations: 1.072 MB / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.327e-05/0.3798, allocations: 0 / 0.5643 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.3801, allocations: 39.78 kB / 0.5644 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003382/0.3804, allocations: 91.55 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.3806, allocations: 79.72 kB / 0.5645 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002061/0.3808, allocations: 111.6 kB / 0.5646 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3809, allocations: 17.94 kB / 0.5647 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.381, allocations: 51.78 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.3811, allocations: 43.83 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.3812, allocations: 7.938 kB / 0.5648 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.3814, allocations: 111.9 kB / 0.5649 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.3814, allocations: 23.92 kB / 0.5649 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.3815, allocations: 35.69 kB / 0.5649 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.3818, allocations: 179.3 kB / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3818, allocations: 0 / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3818, allocations: 0 / 0.5651 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.3818, allocations: 4 kB / 0.5651 GB, free: 0.6562 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.0006805/0.3825, allocations: 361.4 kB / 0.5654 GB, free: 280 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3826, allocations: 8.031 kB / 0.5654 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.888e-05/0.3826, allocations: 34.75 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.888e-05/0.3827, allocations: 12.88 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.383, allocations: 154.3 kB / 0.5656 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.383, allocations: 8.359 kB / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.383, allocations: 384 / 0.5656 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3832, allocations: 75.52 kB / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3833, allocations: 0 / 0.5657 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.3833, allocations: 7.984 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3833, allocations: 0 / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.3833, allocations: 19.98 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.3837, allocations: 247.9 kB / 0.566 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.3839, allocations: 66.61 kB / 0.566 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.384, allocations: 24.97 kB / 0.5661 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.384, allocations: 7.984 kB / 0.5661 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001679/0.3842, allocations: 75.31 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.3842, allocations: 0 / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005832/0.3848, allocations: 209.2 kB / 0.5663 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.3848, allocations: 77.11 kB / 0.5664 GB, free: 15.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.385, allocations: 174.1 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.385, allocations: 25.7 kB / 0.5666 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.3851, allocations: 96.14 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3851, allocations: 35.72 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.3852, allocations: 25.72 kB / 0.5668 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.3853, allocations: 330.7 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.429e-05/0.3854, allocations: 31.98 kB / 0.5671 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.383e-05/0.3855, allocations: 62.05 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3856, allocations: 77.64 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3856, allocations: 0 / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002241/0.3859, allocations: 117.6 kB / 0.5674 GB, free: 14.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3859, allocations: 12.06 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3859, allocations: 480 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3859, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.386, allocations: 19.98 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.386, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.313e-05/0.3861, allocations: 11.94 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.3861, 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.000112/0.3862, allocations: 126.7 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3862, allocations: 11.91 kB / 0.5675 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.3865, allocations: 134.3 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3865, allocations: 3.984 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3865, allocations: 4 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3865, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.387, allocations: 390.5 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3871, allocations: 4 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.3871, allocations: 12.03 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3871, allocations: 11.91 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3871, allocations: 4 kB / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3871, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3871, allocations: 0 / 0.5681 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3874, allocations: 216.3 kB / 0.5683 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.3874, allocations: 11.91 kB / 0.5683 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.3874, allocations: 15.92 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.3875, allocations: 4 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3875, allocations: 11.97 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.3875, allocations: 4 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3877, allocations: 127.1 kB / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3877, allocations: 0 / 0.5685 GB, free: 12.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003028/0.388, allocations: 55.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.00234/0.3903, allocations: 1.204 MB / 0.5697 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.3905, allocations: 75.91 kB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3905, allocations: 3.938 kB / 0.5698 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.589e-05/0.3906, allocations: 31.98 kB / 0.5698 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3909, allocations: 30.48 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.3929, allocations: 1.669 MB / 0.5714 GB, free: 9.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.3932, allocations: 0.7006 MB / 0.5721 GB, free: 9.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.702e-05/0.3932, allocations: 24.36 kB / 0.5722 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.3933, allocations: 39.42 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3933, allocations: 0 / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02904/0.4224, allocations: 4.335 MB / 0.5764 GB, free: 4.766 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.349, allocations: 4 kB / 0.5764 GB, free: 4.762 MB / 414.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 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.418740345630795] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.491360928863287 8.511462317 8.125851625 Calling exit ...