Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.001762/0.001762, 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.002043/0.002043, allocations: 212.6 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.457/1.457, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2358/0.2358, allocations: 46.96 MB / 361.7 MB, free: 4.043 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.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.4969 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3407, allocations: 66.03 MB / 0.5614 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003308/0.344, allocations: 1.72 MB / 0.5631 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00187/0.3459, allocations: 0.9598 MB / 0.564 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.346, allocations: 3.938 kB / 0.564 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.3463, allocations: 39.81 kB / 0.5641 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.3466, allocations: 95.55 kB / 0.5642 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000205/0.3468, allocations: 83.67 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.347, allocations: 107.7 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.962e-05/0.3471, allocations: 9.812 kB / 0.5644 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.231e-05/0.3472, allocations: 43.78 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.3473, allocations: 39.73 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.3474, allocations: 4 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3475, allocations: 43.97 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.19e-05/0.3475, allocations: 19.92 kB / 0.5645 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.3476, allocations: 31.8 kB / 0.5645 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.3478, allocations: 115.5 kB / 0.5646 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3478, allocations: 8 kB / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3478, allocations: 0 / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3478, allocations: 0 / 0.5647 GB, free: 0.8945 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.0006292/0.3485, allocations: 353.4 kB / 0.565 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.3485, allocations: 12.03 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.874e-05/0.3485, allocations: 192 / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.3486, allocations: 30.75 kB / 0.565 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/0.3486, allocations: 12.89 kB / 0.565 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.3489, allocations: 151 kB / 0.5652 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3489, allocations: 4.125 kB / 0.5652 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3489, allocations: 8 kB / 0.5652 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3491, allocations: 53.67 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3491, allocations: 3.984 kB / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3491, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3491, allocations: 0 / 0.5653 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.3492, allocations: 27.92 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.3496, allocations: 255.9 kB / 0.5655 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.3498, allocations: 54.67 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.3499, allocations: 16.86 kB / 0.5656 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.3499, allocations: 4 kB / 0.5656 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.35, allocations: 75.31 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.226e-06/0.35, allocations: 3.984 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005483/0.3506, allocations: 185.3 kB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.514e-05/0.3506, allocations: 59.41 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.3509, allocations: 202.2 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.3509, allocations: 29.7 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.3509, allocations: 104.1 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.351, allocations: 23.8 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.351, allocations: 29.7 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3512, allocations: 326.8 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.3512, allocations: 19.98 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.293e-05/0.3513, allocations: 41.7 kB / 0.5666 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.3514, allocations: 57.64 kB / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3514, allocations: 384 / 0.5667 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.3516, allocations: 109.5 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3517, allocations: 8 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3517, allocations: 4.031 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3517, allocations: 3.938 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3518, allocations: 19.98 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.3518, allocations: 7.938 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.371e-05/0.3518, allocations: 0 / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.3518, allocations: 8 kB / 0.5669 GB, free: 14.43 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 (10): * Single equations (assignments): 10 * 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.0001671/0.352, allocations: 125.8 kB / 0.567 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.352, allocations: 15.91 kB / 0.567 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002873/0.3523, allocations: 119 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3523, allocations: 0 / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3523, allocations: 7.938 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3524, allocations: 3.984 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005304/0.3529, allocations: 370.6 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3529, allocations: 3.984 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.435e-05/0.3529, allocations: 15.94 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3529, allocations: 3.938 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3529, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.3529, allocations: 4 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.353, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3532, allocations: 228.5 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3533, allocations: 11.89 kB / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3533, allocations: 0 / 0.5677 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.3534, allocations: 8 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.3534, allocations: 3.984 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3534, allocations: 4 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001554/0.3536, allocations: 152.2 kB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3536, allocations: 0 / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.3538, allocations: 27.92 kB / 0.5679 GB, free: 13.25 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 (9): * Single equations (assignments): 7 * 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.002411/0.3563, allocations: 1.138 MB / 0.569 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3565, allocations: 63.91 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3565, allocations: 0 / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.3565, allocations: 32.05 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/0.3569, allocations: 31.92 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.359, allocations: 1.674 MB / 0.5708 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.3591, allocations: 88.19 kB / 0.5709 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.3592, allocations: 25.27 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.3592, allocations: 39.42 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3592, allocations: 0 / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02374/0.383, allocations: 3.804 MB / 0.5746 GB, free: 6.523 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.82, allocations: 0 / 0.5746 GB, free: 6.523 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.816907128086314] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.033789042965509 12.049801336 11.698755793 Calling exit ...