Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.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.00136/0.00136, allocations: 106.4 kB / 21.22 MB, free: 0.6758 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.001429/0.001429, allocations: 209.9 kB / 24.53 MB, free: 4.035 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.465/1.465, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2309/0.2309, allocations: 46.94 MB / 361.6 MB, free: 4.176 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-beta.om/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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 83.86 kB / 0.497 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3343, allocations: 66.08 MB / 0.5615 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003635/0.3379, allocations: 2.125 MB / 0.5636 GB, free: 2.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3402, allocations: 1.321 MB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.3403, allocations: 0 / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.3405, allocations: 55.52 kB / 0.5649 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.341, allocations: 211.1 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009603/0.3419, allocations: 461.1 kB / 0.5656 GB, free: 116 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.3424, allocations: 335 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.3425, allocations: 44.91 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002572/0.3428, allocations: 155.3 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003016/0.3431, allocations: 211.2 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.3431, allocations: 12 kB / 0.5663 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3433, allocations: 71.92 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.3434, allocations: 147.5 kB / 0.5665 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.3436, allocations: 182.6 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.3441, allocations: 435.9 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3441, allocations: 4 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3441, allocations: 0 / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.3441, allocations: 0 / 0.5671 GB, free: 14.54 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001157/0.3453, allocations: 0.7717 MB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3453, allocations: 8.031 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.3454, allocations: 50.73 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.3458, allocations: 96.47 kB / 0.568 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007255/0.3465, allocations: 435.1 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.3465, allocations: 8.375 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3466, allocations: 12.38 kB / 0.5684 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.3469, allocations: 147.3 kB / 0.5686 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3469, allocations: 11.92 kB / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3469, allocations: 0 / 0.5686 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3469, allocations: 4 kB / 0.5686 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.3472, allocations: 99.86 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.3483, allocations: 0.6636 MB / 0.5693 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.3486, allocations: 117.2 kB / 0.5695 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.3487, allocations: 61.81 kB / 0.5695 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.3488, allocations: 7.984 kB / 0.5695 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.3488, allocations: 30.56 kB / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.3488, allocations: 0 / 0.5696 GB, free: 11.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001976/0.3508, allocations: 0.7067 MB / 0.5702 GB, free: 11.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.442e-05/0.3508, allocations: 81.11 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.3519, allocations: 0.9259 MB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.352, allocations: 33.7 kB / 0.5713 GB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.3522, allocations: 272.4 kB / 0.5715 GB, free: 9.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.083e-05/0.3523, allocations: 75.31 kB / 0.5716 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.3524, allocations: 41.69 kB / 0.5716 GB, free: 9.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3525, allocations: 314 kB / 0.5719 GB, free: 9.383 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.3528, allocations: 91.98 kB / 0.572 GB, free: 9.293 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.353, allocations: 109.7 kB / 0.5721 GB, free: 9.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/0.3536, allocations: 213.7 kB / 0.5723 GB, free: 8.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3536, allocations: 3.938 kB / 0.5723 GB, free: 8.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000684/0.3542, allocations: 305 kB / 0.5726 GB, free: 8.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.3543, allocations: 10.34 kB / 0.5726 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3543, allocations: 0 / 0.5726 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.3543, allocations: 4 kB / 0.5726 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.3546, allocations: 51.94 kB / 0.5727 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3546, allocations: 4 kB / 0.5727 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.3548, allocations: 19.98 kB / 0.5727 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.3548, allocations: 7.984 kB / 0.5727 GB, free: 8.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002398/0.355, allocations: 222.5 kB / 0.5729 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3552, allocations: 63.58 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008093/0.356, allocations: 350.5 kB / 0.5733 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.356, allocations: 4 kB / 0.5733 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.356, allocations: 4.375 kB / 0.5733 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.356, allocations: 0 / 0.5733 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3575, allocations: 0.8791 MB / 0.5742 GB, free: 6.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3575, allocations: 4 kB / 0.5742 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.3577, allocations: 51.89 kB / 0.5742 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3577, allocations: 0 / 0.5742 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3578, allocations: 11.98 kB / 0.5742 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3578, allocations: 7.984 kB / 0.5743 GB, free: 6.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3578, allocations: 7.938 kB / 0.5743 GB, free: 6.902 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000788/0.3586, allocations: 480.7 kB / 0.5747 GB, free: 6.418 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.3587, allocations: 79.53 kB / 0.5748 GB, free: 6.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.28e-05/0.3588, allocations: 8 kB / 0.5748 GB, free: 6.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.359, allocations: 19.97 kB / 0.5748 GB, free: 6.312 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/0.3591, allocations: 31.84 kB / 0.5749 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3591, allocations: 4 kB / 0.5749 GB, free: 6.277 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008508/0.36, allocations: 0.6747 MB / 0.5755 GB, free: 5.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.36, allocations: 4 kB / 0.5755 GB, free: 5.605 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003751/0.3603, allocations: 67.92 kB / 0.5756 GB, free: 5.539 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.002489/0.3628, allocations: 1.305 MB / 0.5769 GB, free: 4.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006298/0.3635, allocations: 211.7 kB / 0.5771 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3635, allocations: 0 / 0.5771 GB, free: 4.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.3638, allocations: 115.8 kB / 0.5772 GB, free: 4.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.3644, allocations: 103.7 kB / 0.5773 GB, free: 3.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007469/0.3718, allocations: 5.306 MB / 0.5825 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/0.3724, allocations: 0.8772 MB / 0.5833 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.3726, allocations: 79.22 kB / 0.5834 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.3729, allocations: 191.3 kB / 0.5836 GB, free: 13.35 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3729, allocations: 0 / 0.5836 GB, free: 13.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.4118, allocations: 10.59 MB / 0.5939 GB, free: 2.766 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9.204, allocations: 15.8 kB / 0.5939 GB, free: 2.75 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.114556899294257] Failed to read output from testmodel.py, exit status != 0: ['time', 'cosine_R.y', 'sine_R.y', 'cosine_L.y', 'sine_L.y', 'combiTable2D_1R.y', 'combiTable2D_2R.y', 'combiTable2D_1L.y', 'combiTable2D_2L.y', 'der_1R.y', 'der_2R.y', 'der_1L.y', 'der_2L.y'] 9.353396045975387 9.381879788 9.03254423 Calling exit ...