Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 214 kB / 24.52 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2361/0.2361, allocations: 44.93 MB / 359.6 MB, free: 6.074 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 63.89 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.3864, allocations: 65.47 MB / 0.5578 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003257/0.3897, allocations: 1.724 MB / 0.5595 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3915, allocations: 0.9793 MB / 0.5604 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.3916, allocations: 0 / 0.5604 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.3919, allocations: 39.77 kB / 0.5605 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3923, allocations: 99.53 kB / 0.5606 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.3925, allocations: 87.66 kB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.3927, allocations: 103.7 kB / 0.5607 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.3928, allocations: 13.8 kB / 0.5608 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.3929, allocations: 51.78 kB / 0.5608 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.393, allocations: 47.7 kB / 0.5609 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.393, allocations: 8 kB / 0.5609 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.3932, allocations: 107.9 kB / 0.561 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.3933, allocations: 23.91 kB / 0.561 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.3934, allocations: 23.81 kB / 0.561 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003393/0.3937, allocations: 171.4 kB / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3937, allocations: 0 / 0.5612 GB, free: 3.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3937, allocations: 7.938 kB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.3937, allocations: 3.984 kB / 0.5612 GB, free: 3.93 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.000686/0.3944, allocations: 357.4 kB / 0.5615 GB, free: 3.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3944, allocations: 12.03 kB / 0.5615 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.3945, allocations: 192 / 0.5615 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.3945, allocations: 30.75 kB / 0.5616 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/0.3946, allocations: 12.89 kB / 0.5616 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003166/0.3949, allocations: 159.9 kB / 0.5617 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3949, allocations: 8.125 kB / 0.5617 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.3949, allocations: 0 / 0.5617 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.3951, allocations: 101.1 kB / 0.5618 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3952, allocations: 0 / 0.5618 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.3952, allocations: 4 kB / 0.5618 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.3952, allocations: 0 / 0.5618 GB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.3953, allocations: 23.92 kB / 0.5619 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.3957, allocations: 251.9 kB / 0.5621 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.3959, allocations: 66.61 kB / 0.5622 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/0.396, allocations: 28.95 kB / 0.5622 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.396, allocations: 4 kB / 0.5622 GB, free: 2.758 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3962, allocations: 79.31 kB / 0.5623 GB, free: 2.668 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3962, allocations: 0 / 0.5623 GB, free: 2.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007226/0.3969, allocations: 217.2 kB / 0.5625 GB, free: 2.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.397, allocations: 81.11 kB / 0.5626 GB, free: 2.352 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3972, allocations: 173.8 kB / 0.5627 GB, free: 2.172 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.3972, allocations: 29.7 kB / 0.5628 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.3973, allocations: 96.12 kB / 0.5628 GB, free: 2.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.3973, allocations: 27.75 kB / 0.5629 GB, free: 2.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.3974, allocations: 33.7 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3976, allocations: 326.8 kB / 0.5632 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.3977, allocations: 31.98 kB / 0.5632 GB, free: 1.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.3978, allocations: 80.25 kB / 0.5633 GB, free: 1.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.398, allocations: 81.64 kB / 0.5634 GB, free: 1.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.398, allocations: 0 / 0.5634 GB, free: 1.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002686/0.3982, allocations: 129.4 kB / 0.5635 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3982, allocations: 4 kB / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3982, allocations: 0 / 0.5635 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3983, allocations: 12.05 kB / 0.5635 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.3984, allocations: 16 kB / 0.5636 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3984, allocations: 3.938 kB / 0.5636 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.3984, allocations: 7.984 kB / 0.5636 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.3985, allocations: 8 kB / 0.5636 GB, free: 1.25 MB / 398.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.0001251/0.3986, allocations: 125.7 kB / 0.5637 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.3986, allocations: 11.91 kB / 0.5637 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.3989, allocations: 138.8 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.3989, allocations: 0 / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.3989, allocations: 3.938 kB / 0.5638 GB, free: 0.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3989, allocations: 4 kB / 0.5638 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005725/0.3995, allocations: 402.3 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3995, allocations: 96 / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.3996, allocations: 19.92 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3996, allocations: 0 / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3996, allocations: 4 kB / 0.5642 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.3996, allocations: 3.984 kB / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3996, allocations: 0 / 0.5643 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3999, allocations: 228.2 kB / 0.5645 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.3999, allocations: 15.94 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.3999, allocations: 8 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.4, allocations: 11.92 kB / 0.5645 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.4001, allocations: 4 kB / 0.5645 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4001, allocations: 3.984 kB / 0.5645 GB, free: 200 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001336/0.4002, allocations: 131.2 kB / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4002, allocations: 0 / 0.5646 GB, free: 68 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003248/0.4005, allocations: 55.86 kB / 0.5647 GB, free: 12 kB / 398.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 (11): * Single equations (assignments): 9 * 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.00282/0.4034, allocations: 1.251 MB / 0.5659 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002689/0.4036, allocations: 79.78 kB / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.4036, allocations: 0 / 0.566 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.518e-05/0.4037, allocations: 35.92 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.4041, allocations: 44.02 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.4064, allocations: 1.681 MB / 0.5677 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.4065, allocations: 89.31 kB / 0.5678 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.124e-05/0.4066, allocations: 20.64 kB / 0.5678 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/0.4067, allocations: 39.42 kB / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4067, allocations: 0 / 0.5678 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.4347, allocations: 4.639 MB / 0.5724 GB, free: 8.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.94, allocations: 4.062 kB / 0.5724 GB, free: 8.297 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.063803569995798] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.157168228062801 12.182615718 11.784312605 Calling exit ...