Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001288/0.001288, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001493/0.001493, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.242/0.242, allocations: 46.94 MB / 361.7 MB, free: 4.277 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+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.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 0.497 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 66.03 MB / 0.5615 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003394/0.3745, allocations: 1.787 MB / 0.5632 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3763, allocations: 1.061 MB / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.799e-05/0.3764, allocations: 0 / 0.5643 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.3768, allocations: 103.7 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003469/0.3772, allocations: 127.5 kB / 0.5645 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.3774, allocations: 91.66 kB / 0.5646 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.3776, allocations: 135.6 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.3777, allocations: 15.42 kB / 0.5647 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3779, allocations: 71.69 kB / 0.5648 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.378, allocations: 79.67 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.378, allocations: 7.984 kB / 0.5649 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.3782, allocations: 59.98 kB / 0.5649 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.3782, allocations: 39.84 kB / 0.565 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.351e-05/0.3783, allocations: 51.67 kB / 0.565 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.3786, allocations: 167.2 kB / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3786, allocations: 0 / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3786, allocations: 0 / 0.5652 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.3786, allocations: 0 / 0.5652 GB, free: 0.6602 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005968/0.3792, allocations: 393.2 kB / 0.5656 GB, free: 252 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3792, allocations: 8.031 kB / 0.5656 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/0.3792, allocations: 4.188 kB / 0.5656 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.421e-05/0.3793, allocations: 34.75 kB / 0.5656 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.3793, allocations: 20.84 kB / 0.5656 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3797, allocations: 167.2 kB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3797, allocations: 8.125 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.3797, allocations: 11.94 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3799, allocations: 69.66 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3799, allocations: 3.953 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.3799, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3799, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.38, allocations: 35.97 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004632/0.3805, allocations: 307.8 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.3808, allocations: 74.48 kB / 0.5663 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.3809, allocations: 24.84 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.3809, allocations: 0 / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.3811, allocations: 87.31 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.3811, allocations: 0 / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009917/0.3821, allocations: 301.6 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/0.3822, allocations: 51.41 kB / 0.5667 GB, free: 14.93 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.3825, allocations: 259.7 kB / 0.567 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.3825, allocations: 33.64 kB / 0.567 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.416e-05/0.3826, allocations: 120.1 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.3826, allocations: 55.72 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.3827, allocations: 29.7 kB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.3829, allocations: 330.8 kB / 0.5675 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.015e-05/0.383, allocations: 39.97 kB / 0.5675 GB, free: 14.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.3831, allocations: 53.7 kB / 0.5676 GB, free: 13.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/0.3833, allocations: 101.7 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3833, allocations: 4 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003395/0.3836, allocations: 165 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.3837, allocations: 8 kB / 0.5679 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.3837, allocations: 3.938 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.3837, allocations: 0 / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.3838, allocations: 31.92 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3838, allocations: 0 / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.3839, allocations: 0 / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.3839, allocations: 16.02 kB / 0.5679 GB, free: 13.66 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 (16): * Single equations (assignments): 16 * 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.0001513/0.384, allocations: 133.8 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.3841, allocations: 23.84 kB / 0.5681 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004108/0.3845, allocations: 191 kB / 0.5682 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3845, allocations: 4 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3845, allocations: 0 / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3845, allocations: 4.094 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007439/0.3853, allocations: 483 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3853, allocations: 0 / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/0.3853, allocations: 19.94 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.3853, allocations: 4 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.3854, allocations: 7.984 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.3854, allocations: 4 kB / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3854, allocations: 0 / 0.5687 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003667/0.3857, allocations: 261.1 kB / 0.569 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.3858, allocations: 11.91 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.668e-05/0.3858, allocations: 8 kB / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.3859, allocations: 0 / 0.569 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.361e-05/0.3859, allocations: 20.19 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/0.386, allocations: 8 kB / 0.569 GB, free: 12.4 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002147/0.3862, allocations: 193.5 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3862, allocations: 3.938 kB / 0.5692 GB, free: 12.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002998/0.3865, allocations: 47.81 kB / 0.5693 GB, free: 12.16 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 (14): * Single equations (assignments): 12 * 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.002565/0.389, allocations: 1.193 MB / 0.5704 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.3894, allocations: 99.89 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3894, allocations: 3.938 kB / 0.5705 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.3895, allocations: 43.92 kB / 0.5706 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.3899, allocations: 30.86 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3927, allocations: 2.015 MB / 0.5726 GB, free: 8.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3931, allocations: 0.724 MB / 0.5733 GB, free: 8.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.108e-05/0.3932, allocations: 29.41 kB / 0.5733 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.3933, allocations: 55.41 kB / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3933, allocations: 0 / 0.5734 GB, free: 8.043 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.4186, allocations: 4.577 MB / 0.5778 GB, free: 3.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.57, allocations: 11.48 kB / 0.5778 GB, free: 3.543 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.667970500013325] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 11.797018879966345 11.820500248 11.437423795 Calling exit ...