Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001453/0.001453, 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.00145/0.00145, allocations: 211.9 kB / 24.51 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2491/0.2491, allocations: 46.96 MB / 361.7 MB, free: 4.062 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+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.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.91 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3793, allocations: 66.02 MB / 0.5614 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003409/0.3827, allocations: 1.729 MB / 0.5631 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.3846, allocations: 0.9715 MB / 0.5641 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.679e-05/0.3847, allocations: 3.938 kB / 0.5641 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003721/0.3851, allocations: 107.7 kB / 0.5642 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.3854, allocations: 123.5 kB / 0.5643 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.3857, allocations: 91.66 kB / 0.5644 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.3859, allocations: 123.7 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.386, allocations: 13.8 kB / 0.5645 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.798e-05/0.3861, allocations: 63.77 kB / 0.5646 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.3862, allocations: 63.81 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3862, allocations: 4 kB / 0.5646 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3864, allocations: 71.89 kB / 0.5647 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.043e-05/0.3864, allocations: 27.86 kB / 0.5647 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.3865, allocations: 27.75 kB / 0.5648 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.3867, allocations: 155.3 kB / 0.5649 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3867, allocations: 0 / 0.5649 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3867, allocations: 0 / 0.5649 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3867, allocations: 0 / 0.5649 GB, free: 0.6484 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006082/0.3873, allocations: 385.3 kB / 0.5653 GB, free: 248 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3874, allocations: 12.03 kB / 0.5653 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.405e-05/0.3874, allocations: 4.188 kB / 0.5653 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.3874, allocations: 34.69 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.3875, allocations: 24.84 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3878, allocations: 158.4 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.3878, allocations: 8.125 kB / 0.5655 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.3878, allocations: 7.953 kB / 0.5655 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.388, allocations: 61.66 kB / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.388, allocations: 0 / 0.5656 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.388, allocations: 4 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.388, allocations: 4 kB / 0.5656 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.636e-05/0.3881, allocations: 23.92 kB / 0.5656 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.3885, allocations: 279.8 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.3888, allocations: 62.48 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.3889, allocations: 20.97 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.3889, allocations: 0 / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.389, allocations: 71.33 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.389, allocations: 4 kB / 0.566 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008151/0.3899, allocations: 257.2 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.3899, allocations: 59.39 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3902, allocations: 242.8 kB / 0.5665 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3902, allocations: 25.7 kB / 0.5666 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.406e-05/0.3903, allocations: 116.1 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.3903, allocations: 51.69 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.937e-05/0.3904, allocations: 25.7 kB / 0.5668 GB, free: 14.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3905, allocations: 326.8 kB / 0.5671 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.702e-05/0.3906, allocations: 31.98 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/0.3907, allocations: 53.45 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.3909, allocations: 81.64 kB / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3909, allocations: 0 / 0.5672 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002459/0.3911, allocations: 133.5 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3911, allocations: 4 kB / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3911, allocations: 0 / 0.5674 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3912, allocations: 3.938 kB / 0.5674 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.103e-05/0.3913, allocations: 31.91 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3913, allocations: 0.7031 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.3913, allocations: 12.02 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3913, allocations: 4 kB / 0.5674 GB, free: 13.87 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.000126/0.3915, allocations: 140.9 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.307e-05/0.3915, allocations: 15.91 kB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.3918, allocations: 155.2 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3918, allocations: 3.938 kB / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3918, allocations: 0 / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3918, allocations: 0 / 0.5677 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007256/0.3926, allocations: 439.1 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3926, allocations: 4 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.3926, allocations: 12 kB / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3926, allocations: 0 / 0.5681 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3926, allocations: 11.92 kB / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3926, allocations: 96 / 0.5682 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3926, allocations: 3.938 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003338/0.393, allocations: 249 kB / 0.5684 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.474e-05/0.393, allocations: 11.91 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.393, allocations: 8 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/0.3931, allocations: 4.062 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.3932, allocations: 11.92 kB / 0.5684 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3932, allocations: 8 kB / 0.5684 GB, free: 12.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.3934, allocations: 196.2 kB / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3934, allocations: 0 / 0.5686 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.3937, allocations: 31.94 kB / 0.5687 GB, free: 12.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002607/0.3963, allocations: 1.22 MB / 0.5698 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3965, allocations: 83.89 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.3965, allocations: 4 kB / 0.5699 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.3966, allocations: 35.92 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.397, allocations: 42.14 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3993, allocations: 1.895 MB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.3995, allocations: 113.3 kB / 0.572 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.669e-05/0.3995, allocations: 16.62 kB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.3996, allocations: 47.42 kB / 0.572 GB, free: 9.141 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3996, allocations: 0 / 0.572 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.4266, allocations: 4.392 MB / 0.5763 GB, free: 4.828 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.86, allocations: 11.98 kB / 0.5763 GB, free: 4.816 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.031399436062202] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 12.083365609054454 12.099672416 11.709728287 Calling exit ...