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.00181/0.00181, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.002379/0.002379, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.401/1.401, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.2187/0.2187, allocations: 46.92 MB / 361.6 MB, free: 4.168 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 75.88 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3549, allocations: 66.09 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003419/0.3583, allocations: 2.058 MB / 0.5636 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.3601, allocations: 1.134 MB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.189e-05/0.3602, allocations: 4 kB / 0.5647 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.3605, allocations: 51.62 kB / 0.5647 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.3608, allocations: 107.4 kB / 0.5648 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002572/0.361, allocations: 123.6 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.3613, allocations: 199.4 kB / 0.5651 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.3614, allocations: 27.75 kB / 0.5652 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.3616, allocations: 83.64 kB / 0.5652 GB, free: 484 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3617, allocations: 87.59 kB / 0.5653 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.3618, allocations: 12 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3619, allocations: 55.92 kB / 0.5654 GB, free: 328 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.3619, allocations: 31.86 kB / 0.5654 GB, free: 296 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.654e-05/0.362, allocations: 79.52 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.3623, allocations: 195.1 kB / 0.5657 GB, free: 20 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3623, allocations: 4 kB / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3623, allocations: 0 / 0.5657 GB, free: 16 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.3623, allocations: 0 / 0.5657 GB, free: 16 kB / 398.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.0009036/0.3632, allocations: 0.4965 MB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3633, allocations: 12.03 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.31e-05/0.3633, allocations: 192 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.3633, allocations: 46.73 kB / 0.5662 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.3634, allocations: 16.84 kB / 0.5662 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3637, allocations: 194 kB / 0.5664 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.3637, allocations: 8.375 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.3638, allocations: 4.375 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.3642, allocations: 156.1 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3642, allocations: 0 / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3642, allocations: 4 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3642, allocations: 4 kB / 0.5666 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004552/0.3647, allocations: 111.8 kB / 0.5667 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.3653, allocations: 0.5155 MB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.3659, allocations: 162.6 kB / 0.5674 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.3662, allocations: 64.8 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3662, allocations: 7.938 kB / 0.5674 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.3666, allocations: 139.2 kB / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.3666, allocations: 0 / 0.5676 GB, free: 13.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008699/0.3675, allocations: 253.3 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.3675, allocations: 67.34 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.3678, allocations: 234.2 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.3678, allocations: 25.7 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.3679, allocations: 128.4 kB / 0.5682 GB, free: 13.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.3679, allocations: 39.69 kB / 0.5683 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.368, allocations: 37.7 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3682, allocations: 334.8 kB / 0.5686 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.3684, allocations: 67.94 kB / 0.5687 GB, free: 12.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.3687, allocations: 108.9 kB / 0.5688 GB, free: 12.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.3692, allocations: 189.8 kB / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3692, allocations: 0 / 0.569 GB, free: 12.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006743/0.3699, allocations: 263 kB / 0.5692 GB, free: 12.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.37, allocations: 29.7 kB / 0.5693 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.37, allocations: 4 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.37, allocations: 4 kB / 0.5693 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.3702, allocations: 31.97 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3702, allocations: 11.92 kB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.3703, allocations: 28.06 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3704, allocations: 11.98 kB / 0.5694 GB, free: 11.99 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.0001468/0.3705, allocations: 143 kB / 0.5695 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3705, allocations: 15.91 kB / 0.5695 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006451/0.3712, allocations: 210.9 kB / 0.5697 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3712, allocations: 11.92 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3712, allocations: 3.938 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3712, allocations: 0 / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.3714, allocations: 208.6 kB / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3714, allocations: 0 / 0.5699 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3716, allocations: 27.97 kB / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3716, allocations: 0 / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.3716, allocations: 0 / 0.5699 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.3716, allocations: 8 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3716, allocations: 3.938 kB / 0.57 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.3725, allocations: 300.8 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.3725, allocations: 19.89 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/0.3725, allocations: 7.984 kB / 0.5703 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.3727, allocations: 23.91 kB / 0.5703 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.3728, allocations: 15.92 kB / 0.5703 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.3728, allocations: 11.98 kB / 0.5703 GB, free: 10.91 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3729, allocations: 176.4 kB / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3729, allocations: 0 / 0.5705 GB, free: 10.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.3732, allocations: 40 kB / 0.5705 GB, free: 10.7 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.002577/0.3758, allocations: 1.13 MB / 0.5716 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006286/0.3764, allocations: 215.1 kB / 0.5718 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3764, allocations: 0 / 0.5718 GB, free: 9.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002672/0.3767, allocations: 76.19 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.377, allocations: 55.53 kB / 0.572 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.3803, allocations: 2.188 MB / 0.5741 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.3807, allocations: 0.7242 MB / 0.5748 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.439e-05/0.3808, allocations: 21.48 kB / 0.5748 GB, free: 6.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.3809, allocations: 59.41 kB / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3809, allocations: 0 / 0.5749 GB, free: 6.207 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4084, allocations: 5.269 MB / 0.58 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.04, allocations: 5.375 kB / 0.58 GB, free: 0.9844 MB / 414.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 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: 13.913470575993415] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.2489301339956 11.263947862 10.898574302 Calling exit ...