Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.001359/0.001359, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001719/0.001719, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2352/0.2352, allocations: 44.94 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 179] 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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001971/0.001971, allocations: 63.91 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3824, allocations: 65.47 MB / 0.5578 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003204/0.3856, allocations: 1.672 MB / 0.5594 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3872, allocations: 0.9482 MB / 0.5603 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.147e-05/0.3873, allocations: 3.938 kB / 0.5603 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.3876, allocations: 59.8 kB / 0.5604 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.3879, allocations: 111.5 kB / 0.5605 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.3881, allocations: 79.72 kB / 0.5606 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.3883, allocations: 103.6 kB / 0.5607 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3883, allocations: 8.219 kB / 0.5607 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.104e-05/0.3884, allocations: 47.78 kB / 0.5607 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.3885, allocations: 51.81 kB / 0.5608 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3885, allocations: 4 kB / 0.5608 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.933e-05/0.3886, allocations: 28 kB / 0.5608 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.3887, allocations: 23.86 kB / 0.5608 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.879e-05/0.3887, allocations: 31.78 kB / 0.5609 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3889, allocations: 105.4 kB / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3889, allocations: 0 / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3889, allocations: 0 / 0.561 GB, free: 4.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3889, allocations: 0 / 0.561 GB, free: 4.141 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005466/0.3895, allocations: 341.6 kB / 0.5613 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3895, allocations: 8.031 kB / 0.5613 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.809e-05/0.3895, allocations: 192 / 0.5613 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/0.3896, allocations: 34.75 kB / 0.5613 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.3896, allocations: 12.84 kB / 0.5614 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3899, allocations: 151 kB / 0.5615 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.112e-05/0.3899, allocations: 16.12 kB / 0.5615 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3899, allocations: 0 / 0.5615 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.39, allocations: 49.67 kB / 0.5616 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.3901, allocations: 3.938 kB / 0.5616 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3901, allocations: 0 / 0.5616 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3901, allocations: 0 / 0.5616 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.143e-05/0.3901, allocations: 15.98 kB / 0.5616 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.3903, allocations: 156.7 kB / 0.5617 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.3905, allocations: 58.5 kB / 0.5618 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.052e-05/0.3906, allocations: 24.83 kB / 0.5618 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.3906, allocations: 3.938 kB / 0.5618 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.3908, allocations: 67.39 kB / 0.5619 GB, free: 3.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3908, allocations: 0 / 0.5619 GB, free: 3.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003117/0.3911, allocations: 101.5 kB / 0.562 GB, free: 2.977 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.3911, allocations: 55.41 kB / 0.562 GB, free: 2.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3913, allocations: 198.3 kB / 0.5622 GB, free: 2.707 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3914, allocations: 29.7 kB / 0.5622 GB, free: 2.672 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3914, allocations: 104.1 kB / 0.5623 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.3914, allocations: 19.84 kB / 0.5624 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.3915, allocations: 17.72 kB / 0.5624 GB, free: 2.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3917, allocations: 322.8 kB / 0.5627 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.966e-05/0.3917, allocations: 15.98 kB / 0.5627 GB, free: 2.184 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.3918, allocations: 33.69 kB / 0.5627 GB, free: 2.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3919, allocations: 49.58 kB / 0.5628 GB, free: 2.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3919, allocations: 4 kB / 0.5628 GB, free: 2.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000177/0.3921, allocations: 85.59 kB / 0.5629 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3921, allocations: 8 kB / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3921, allocations: 0 / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3921, allocations: 0 / 0.5629 GB, free: 1.988 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.078e-05/0.3922, allocations: 15.92 kB / 0.5629 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.3922, allocations: 4 kB / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.23e-05/0.3922, allocations: 320 / 0.5629 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.3922, allocations: 4 kB / 0.5629 GB, free: 1.965 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 (7): * Single equations (assignments): 7 * 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.0001065/0.3924, allocations: 128.6 kB / 0.563 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.3924, allocations: 11.95 kB / 0.563 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3926, allocations: 102.8 kB / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3926, allocations: 0 / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3926, allocations: 0 / 0.5631 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3926, allocations: 4 kB / 0.5631 GB, free: 1.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.3928, allocations: 164.5 kB / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3928, allocations: 0 / 0.5633 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.3928, allocations: 4 kB / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3928, allocations: 0 / 0.5633 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.3928, allocations: 7.984 kB / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3928, allocations: 0 / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3928, allocations: 0 / 0.5633 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.393, allocations: 125 kB / 0.5634 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.3931, allocations: 11.91 kB / 0.5634 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.3931, allocations: 4 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.738e-05/0.3931, allocations: 0 / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.3932, allocations: 7.984 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3932, allocations: 0 / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001356/0.3933, allocations: 156.2 kB / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3933, allocations: 0 / 0.5636 GB, free: 1.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.3935, allocations: 23.88 kB / 0.5636 GB, free: 1.145 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.002028/0.3956, allocations: 0.982 MB / 0.5646 GB, free: 324 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.3957, allocations: 39.92 kB / 0.5646 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3957, allocations: 3.938 kB / 0.5646 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/0.3958, allocations: 27.98 kB / 0.5646 GB, free: 252 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3961, allocations: 25.42 kB / 0.5647 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3979, allocations: 1.526 MB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.456e-05/0.398, allocations: 93.31 kB / 0.5662 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.348e-05/0.398, allocations: 20.7 kB / 0.5663 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.732e-05/0.3981, allocations: 35.42 kB / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3981, allocations: 0 / 0.5663 GB, free: 14.44 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.4223, allocations: 3.501 MB / 0.5697 GB, free: 11.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.71, allocations: 7.156 kB / 0.5697 GB, free: 11.02 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --stepSize=0.000699161 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.84440868999809] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 11.922622484969907 11.940090575 11.547973741 Calling exit ...