Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001263/0.001263, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001361/0.001361, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.391/1.391, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.219/0.219, allocations: 46.94 MB / 361.6 MB, free: 4.055 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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002225/0.002225, allocations: 75.88 kB / 0.4969 GB, free: 7.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.349, allocations: 66.08 MB / 0.5615 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003382/0.3524, allocations: 1.816 MB / 0.5632 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3541, allocations: 0.9903 MB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.3542, allocations: 4 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.3544, allocations: 67.66 kB / 0.5643 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.3548, allocations: 115.5 kB / 0.5644 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004822/0.3553, allocations: 206.8 kB / 0.5646 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.3556, allocations: 203.4 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3557, allocations: 27.7 kB / 0.5648 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3558, allocations: 91.61 kB / 0.5649 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.356, allocations: 107.6 kB / 0.565 GB, free: 456 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.356, allocations: 12 kB / 0.565 GB, free: 444 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.3561, allocations: 44 kB / 0.565 GB, free: 400 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.159e-05/0.3562, allocations: 43.83 kB / 0.5651 GB, free: 356 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.241e-05/0.3563, allocations: 63.58 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.3566, allocations: 199.1 kB / 0.5653 GB, free: 92 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.3566, allocations: 3.984 kB / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3566, allocations: 0 / 0.5653 GB, free: 88 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.3566, allocations: 4 kB / 0.5653 GB, free: 84 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001138/0.3577, allocations: 0.5083 MB / 0.5658 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.3578, allocations: 8.031 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.315e-05/0.3578, allocations: 4.188 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.3578, allocations: 34.75 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.3579, allocations: 16.84 kB / 0.5659 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3581, allocations: 191.2 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.3582, allocations: 4.375 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.541e-05/0.3582, allocations: 8.375 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005146/0.3587, allocations: 153.4 kB / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3587, allocations: 0 / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.3588, allocations: 0 / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3588, allocations: 0 / 0.5662 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.3595, allocations: 171.8 kB / 0.5664 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007993/0.3603, allocations: 379.6 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007639/0.361, allocations: 190.4 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.3614, allocations: 92.75 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3614, allocations: 4 kB / 0.567 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005974/0.362, allocations: 179.1 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.362, allocations: 0 / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003655/0.3657, allocations: 0.8327 MB / 0.568 GB, free: 13.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.3657, allocations: 55.41 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.366, allocations: 256.8 kB / 0.5683 GB, free: 12.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.3661, allocations: 33.7 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3662, allocations: 132.1 kB / 0.5685 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.3662, allocations: 39.73 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.447e-05/0.3663, allocations: 41.64 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3665, allocations: 330.8 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.3672, allocations: 227.2 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.3679, allocations: 227.2 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.3692, allocations: 383.9 kB / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3692, allocations: 0 / 0.5697 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001514/0.3707, allocations: 0.5139 MB / 0.5702 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.3707, allocations: 67.39 kB / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3708, allocations: 0 / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3708, allocations: 4 kB / 0.5702 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.3712, allocations: 71.95 kB / 0.5703 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.3712, allocations: 7.875 kB / 0.5703 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000393/0.3716, allocations: 67.91 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.3716, allocations: 7.984 kB / 0.5704 GB, free: 10.62 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001579/0.3718, allocations: 143.1 kB / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3718, allocations: 15.91 kB / 0.5705 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3733, allocations: 429.9 kB / 0.5709 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3733, allocations: 4 kB / 0.5709 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.3733, allocations: 3.938 kB / 0.571 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3733, allocations: 0 / 0.571 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.375, allocations: 0.6614 MB / 0.5716 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3751, allocations: 0 / 0.5716 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.3754, allocations: 71.84 kB / 0.5717 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.3754, allocations: 7.938 kB / 0.5717 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3754, allocations: 7.984 kB / 0.5717 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3754, allocations: 0 / 0.5717 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3754, allocations: 0 / 0.5717 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.3768, allocations: 491.1 kB / 0.5721 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.3769, allocations: 23.84 kB / 0.5722 GB, free: 8.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.3769, allocations: 3.938 kB / 0.5722 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.3773, allocations: 63.91 kB / 0.5722 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3775, allocations: 47.92 kB / 0.5723 GB, free: 8.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3775, allocations: 12 kB / 0.5723 GB, free: 8.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3777, allocations: 188.5 kB / 0.5725 GB, free: 8.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3777, allocations: 3.938 kB / 0.5725 GB, free: 8.402 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.378, allocations: 44 kB / 0.5725 GB, free: 8.359 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.003234/0.3812, allocations: 1.348 MB / 0.5738 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.3828, allocations: 0.5285 MB / 0.5744 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3828, allocations: 0 / 0.5744 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006973/0.3835, allocations: 183.7 kB / 0.5745 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.3839, allocations: 32.66 kB / 0.5746 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006265/0.3902, allocations: 3.12 MB / 0.5776 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001315/0.3903, allocations: 119.3 kB / 0.5777 GB, free: 2.953 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001518/0.3904, allocations: 37.38 kB / 0.5778 GB, free: 2.918 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3906, allocations: 63.41 kB / 0.5778 GB, free: 2.855 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3906, allocations: 0 / 0.5778 GB, free: 2.855 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.4199, allocations: 6.342 MB / 0.584 GB, free: 12.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.28, allocations: 14.05 kB / 0.584 GB, free: 12.54 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --stepSize=0.00279441 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.160029864055105] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'trapezoid1.y', 'trapezoid2.y'] 11.495075377984904 11.5102144 11.150644874 Calling exit ...