Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001829/0.001829, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 230.5 MB / 257.4 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.92 MB / 360.8 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 75.88 kB / 0.4963 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3628, allocations: 66.07 MB / 0.5608 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.005152/0.368, allocations: 2.065 MB / 0.5628 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002844/0.3708, allocations: 1.127 MB / 0.5639 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.3709, allocations: 3.938 kB / 0.5639 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.3712, allocations: 55.62 kB / 0.564 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.3717, allocations: 111.4 kB / 0.5641 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.3721, allocations: 115.6 kB / 0.5642 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.3724, allocations: 199.5 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.3725, allocations: 23.62 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.3727, allocations: 91.56 kB / 0.5645 GB, free: 440 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3729, allocations: 79.62 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.191e-05/0.373, allocations: 12 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.3731, allocations: 55.97 kB / 0.5646 GB, free: 292 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.55e-05/0.3732, allocations: 43.78 kB / 0.5647 GB, free: 248 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.3733, allocations: 75.53 kB / 0.5647 GB, free: 172 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.3738, allocations: 199.1 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3738, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3738, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3738, allocations: 0 / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001253/0.375, allocations: 0.4965 MB / 0.5654 GB, free: 15.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.3751, allocations: 12.03 kB / 0.5654 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.818e-05/0.3752, allocations: 38.73 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.288e-05/0.3752, allocations: 20.84 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.3757, allocations: 182.2 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.3758, allocations: 4.375 kB / 0.5656 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.3758, allocations: 12.38 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000594/0.3764, allocations: 162.5 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3764, allocations: 0 / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.3764, allocations: 4 kB / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3764, allocations: 0 / 0.5658 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006419/0.3771, allocations: 119.8 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.378, allocations: 0.5156 MB / 0.5664 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009375/0.379, allocations: 158.5 kB / 0.5666 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.3793, allocations: 76.73 kB / 0.5667 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.109e-05/0.3794, allocations: 4 kB / 0.5667 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/0.38, allocations: 143.2 kB / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.38, allocations: 0 / 0.5668 GB, free: 13.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001241/0.3812, allocations: 253.4 kB / 0.567 GB, free: 13.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.3813, allocations: 55.34 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/0.3817, allocations: 238.2 kB / 0.5673 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.3817, allocations: 33.7 kB / 0.5674 GB, free: 13.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3818, allocations: 124.4 kB / 0.5675 GB, free: 13.15 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.3819, allocations: 43.67 kB / 0.5675 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.382, allocations: 37.7 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.3822, allocations: 326.8 kB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.3826, allocations: 71.94 kB / 0.5679 GB, free: 12.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.383, allocations: 110.9 kB / 0.568 GB, free: 12.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007276/0.3837, allocations: 193.1 kB / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3837, allocations: 0 / 0.5682 GB, free: 12.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009768/0.3847, allocations: 255.1 kB / 0.5685 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.3847, allocations: 37.7 kB / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3847, allocations: 0 / 0.5685 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.3848, allocations: 8.125 kB / 0.5685 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.385, allocations: 35.91 kB / 0.5685 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3851, allocations: 3.938 kB / 0.5685 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.3853, allocations: 31.92 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.3853, allocations: 4 kB / 0.5686 GB, free: 11.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002117/0.3856, allocations: 143 kB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.631e-05/0.3856, allocations: 15.91 kB / 0.5687 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008468/0.3865, allocations: 218.9 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3865, allocations: 0 / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.3865, allocations: 3.938 kB / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3865, allocations: 0 / 0.5689 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.3868, allocations: 204.6 kB / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3868, allocations: 0 / 0.5691 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.387, allocations: 31.91 kB / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.387, allocations: 0 / 0.5692 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.387, allocations: 8 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.387, allocations: 0 / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.387, allocations: 3.938 kB / 0.5692 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.3882, allocations: 300.8 kB / 0.5695 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3882, allocations: 15.89 kB / 0.5695 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.3883, allocations: 8 kB / 0.5695 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3885, allocations: 23.95 kB / 0.5695 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.009e-05/0.3886, allocations: 19.91 kB / 0.5695 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.3886, allocations: 16.05 kB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002434/0.3888, allocations: 172.5 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3888, allocations: 3.938 kB / 0.5697 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.3892, allocations: 39.92 kB / 0.5698 GB, free: 10.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,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): 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.00339/0.3926, allocations: 1.132 MB / 0.5709 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008794/0.3935, allocations: 215.3 kB / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3935, allocations: 0 / 0.5711 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.3939, allocations: 75.81 kB / 0.5711 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.3944, allocations: 52.11 kB / 0.5712 GB, free: 9.297 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004841/0.3992, allocations: 2.182 MB / 0.5733 GB, free: 7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.3996, allocations: 0.7281 MB / 0.574 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001353/0.3998, allocations: 25.47 kB / 0.5741 GB, free: 6.223 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3999, allocations: 55.41 kB / 0.5741 GB, free: 6.168 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3999, allocations: 0 / 0.5741 GB, free: 6.168 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0415/0.4414, allocations: 5.243 MB / 0.5792 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.53, allocations: 7.062 kB / 0.5792 GB, free: 0.9648 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.494714184998884] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.69231581799977 11.719920654 11.340925487 Calling exit ...