Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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: 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.001437/0.001437, 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.512/1.512, 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.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.2373/0.2373, allocations: 44.93 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.001995/0.001995, allocations: 63.91 kB / 0.4938 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3617, allocations: 65.48 MB / 0.5578 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004034/0.3658, allocations: 1.786 MB / 0.5595 GB, free: 5.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.3683, allocations: 1.03 MB / 0.5605 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.3684, allocations: 7.938 kB / 0.5605 GB, free: 4.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.3691, allocations: 303.3 kB / 0.5608 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006592/0.3698, allocations: 259.2 kB / 0.5611 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.3701, allocations: 103.7 kB / 0.5612 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.3705, allocations: 275.1 kB / 0.5614 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.3706, allocations: 5.812 kB / 0.5614 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.3708, allocations: 131.5 kB / 0.5616 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.3711, allocations: 219.9 kB / 0.5618 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.738e-05/0.3711, allocations: 4 kB / 0.5618 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.3713, allocations: 47.98 kB / 0.5618 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.3714, allocations: 140.5 kB / 0.562 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.3716, allocations: 103.2 kB / 0.5621 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004822/0.3721, allocations: 387.9 kB / 0.5624 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3721, allocations: 0 / 0.5624 GB, free: 2.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3721, allocations: 0 / 0.5624 GB, free: 2.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.3721, allocations: 0 / 0.5624 GB, free: 2.742 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.001097/0.3732, allocations: 0.6708 MB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.3732, allocations: 8.031 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.782e-05/0.3733, allocations: 8.172 kB / 0.5631 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.3733, allocations: 38.75 kB / 0.5631 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.843e-05/0.3734, allocations: 52.61 kB / 0.5632 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.3741, allocations: 390.5 kB / 0.5636 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3741, allocations: 4.125 kB / 0.5636 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3741, allocations: 4 kB / 0.5636 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.3744, allocations: 91.36 kB / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3744, allocations: 0 / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3744, allocations: 0 / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.3744, allocations: 0 / 0.5637 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.3745, allocations: 39.91 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.3751, allocations: 329.5 kB / 0.564 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/0.3754, allocations: 109.1 kB / 0.5641 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.3755, allocations: 41.64 kB / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.3755, allocations: 0 / 0.5641 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002455/0.3757, allocations: 109.1 kB / 0.5643 GB, free: 0.707 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.3757, allocations: 0 / 0.5643 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005384/0.3763, allocations: 217.2 kB / 0.5645 GB, free: 500 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.759e-05/0.3763, allocations: 81.11 kB / 0.5645 GB, free: 400 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3776, allocations: 1.03 MB / 0.5655 GB, free: 15.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3776, allocations: 29.7 kB / 0.5656 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.3778, allocations: 236 kB / 0.5658 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.3779, allocations: 27.8 kB / 0.5658 GB, free: 15.05 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.378, allocations: 29.7 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3782, allocations: 366.8 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.336e-05/0.3783, allocations: 27.98 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.3784, allocations: 71.41 kB / 0.5663 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.3786, allocations: 95.78 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3786, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003468/0.3789, allocations: 177.2 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3789, allocations: 8 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.379, allocations: 7.969 kB / 0.5666 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.379, allocations: 4 kB / 0.5666 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3791, allocations: 24 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3791, allocations: 0 / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.3792, allocations: 19.88 kB / 0.5666 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3792, allocations: 8 kB / 0.5666 GB, free: 14.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000235/0.3795, allocations: 217.7 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.3795, allocations: 51.67 kB / 0.5669 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004156/0.38, allocations: 201.8 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.38, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.38, allocations: 0 / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.38, allocations: 8 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3803, allocations: 292.5 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3803, allocations: 0 / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.609e-05/0.3804, allocations: 15.94 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3804, allocations: 3.984 kB / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3804, allocations: 0 / 0.5674 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.3804, allocations: 7.938 kB / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.3804, allocations: 0 / 0.5674 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.3808, allocations: 225.7 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.3809, allocations: 67.59 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.854e-05/0.3809, allocations: 8 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.381, allocations: 8 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.381, allocations: 7.984 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.3811, allocations: 7.984 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008855/0.382, allocations: 0.7721 MB / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.382, allocations: 0 / 0.5685 GB, free: 12.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002763/0.3822, allocations: 47.98 kB / 0.5685 GB, free: 12.18 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002254/0.3845, allocations: 1.09 MB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.3847, allocations: 91.84 kB / 0.5696 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3848, allocations: 4 kB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3849, allocations: 43.91 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.3853, allocations: 76.28 kB / 0.5698 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.3911, allocations: 4.495 MB / 0.5742 GB, free: 6.438 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3914, allocations: 245.7 kB / 0.5744 GB, free: 6.176 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.3915, allocations: 50.95 kB / 0.5744 GB, free: 6.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3917, allocations: 151.4 kB / 0.5746 GB, free: 5.984 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3917, allocations: 0 / 0.5746 GB, free: 5.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.423, allocations: 9.505 MB / 0.5839 GB, free: 12.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.4, allocations: 4.062 kB / 0.5839 GB, free: 12.59 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.520992820966057] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 12.619178831926547 12.635440411 12.260088463 Calling exit ...