Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001333/0.001333, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001539/0.001539, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.511/1.511, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.2253/0.2253, allocations: 44.91 MB / 359.6 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.001987/0.001987, allocations: 55.91 kB / 0.4939 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.374, allocations: 65.47 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004191/0.3782, allocations: 2.124 MB / 0.5599 GB, free: 5.641 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.3808, allocations: 1.318 MB / 0.5612 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.381, allocations: 7.938 kB / 0.5612 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.3813, allocations: 51.56 kB / 0.5612 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005934/0.3818, allocations: 219 kB / 0.5614 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3829, allocations: 458.1 kB / 0.5619 GB, free: 3.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.3834, allocations: 331 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.3835, allocations: 52.83 kB / 0.5622 GB, free: 3.227 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.3838, allocations: 155.3 kB / 0.5624 GB, free: 3.074 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.3841, allocations: 207.3 kB / 0.5626 GB, free: 2.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.3841, allocations: 20 kB / 0.5626 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.3843, allocations: 63.98 kB / 0.5627 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.3845, allocations: 159.4 kB / 0.5628 GB, free: 2.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.3847, allocations: 178.6 kB / 0.563 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.3852, allocations: 431.9 kB / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3852, allocations: 0 / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3852, allocations: 0 / 0.5634 GB, free: 2.035 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.3852, allocations: 0 / 0.5634 GB, free: 2.035 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001285/0.3865, allocations: 0.7757 MB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.3866, allocations: 19.95 kB / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.531e-05/0.3866, allocations: 192 / 0.5642 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.555e-05/0.3866, allocations: 38.75 kB / 0.5642 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004624/0.3871, allocations: 96.47 kB / 0.5643 GB, free: 1.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007417/0.3878, allocations: 435.1 kB / 0.5647 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3879, allocations: 16.12 kB / 0.5647 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.3879, allocations: 15.98 kB / 0.5647 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.3882, allocations: 139 kB / 0.5649 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.3882, allocations: 0 / 0.5649 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.3882, allocations: 8 kB / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3883, allocations: 0 / 0.5649 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.3886, allocations: 103.9 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.3896, allocations: 0.6596 MB / 0.5656 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/0.3899, allocations: 113.2 kB / 0.5657 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.3901, allocations: 57.8 kB / 0.5658 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.3901, allocations: 11.92 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3902, allocations: 42.66 kB / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.3902, allocations: 0 / 0.5658 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002123/0.3923, allocations: 0.7029 MB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.3924, allocations: 85.05 kB / 0.5666 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.3935, allocations: 0.9181 MB / 0.5675 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.3935, allocations: 33.7 kB / 0.5675 GB, free: 13.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.3938, allocations: 276.4 kB / 0.5678 GB, free: 13.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.531e-05/0.3938, allocations: 75.31 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.3939, allocations: 41.7 kB / 0.5679 GB, free: 13.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3941, allocations: 321.9 kB / 0.5682 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.3944, allocations: 83.94 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.3946, allocations: 111.9 kB / 0.5684 GB, free: 12.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005463/0.3952, allocations: 205.5 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3952, allocations: 192 / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007822/0.396, allocations: 313 kB / 0.5689 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.396, allocations: 4 kB / 0.5689 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.396, allocations: 8.062 kB / 0.5689 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.396, allocations: 7.922 kB / 0.5689 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.3963, allocations: 55.95 kB / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3963, allocations: 0 / 0.569 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.3965, allocations: 23.97 kB / 0.569 GB, free: 12.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.3966, allocations: 12 kB / 0.569 GB, free: 12.04 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.0002516/0.3968, allocations: 213.6 kB / 0.5692 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.3969, allocations: 63.58 kB / 0.5693 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008792/0.3978, allocations: 350.5 kB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.3978, allocations: 4 kB / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3978, allocations: 0 / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3978, allocations: 0 / 0.5696 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.3994, allocations: 0.8795 MB / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.3994, allocations: 0 / 0.5705 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.3997, allocations: 51.94 kB / 0.5705 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.3997, allocations: 4 kB / 0.5705 GB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.3997, allocations: 11.88 kB / 0.5705 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3997, allocations: 7.938 kB / 0.5705 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3997, allocations: 0 / 0.5705 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.4005, allocations: 478.3 kB / 0.571 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4007, allocations: 79.55 kB / 0.5711 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.4007, allocations: 15.92 kB / 0.5711 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.401, allocations: 19.98 kB / 0.5711 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.64e-05/0.4011, allocations: 23.95 kB / 0.5711 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4011, allocations: 8 kB / 0.5711 GB, free: 9.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008511/0.402, allocations: 0.6747 MB / 0.5718 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.402, allocations: 0 / 0.5718 GB, free: 9.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.4024, allocations: 63.94 kB / 0.5719 GB, free: 9.043 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.002643/0.405, allocations: 1.328 MB / 0.5732 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.4057, allocations: 211.8 kB / 0.5734 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4057, allocations: 0 / 0.5734 GB, free: 7.641 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000311/0.406, allocations: 115.9 kB / 0.5735 GB, free: 7.527 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006327/0.4066, allocations: 86.33 kB / 0.5736 GB, free: 7.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/0.4146, allocations: 5.311 MB / 0.5787 GB, free: 2.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006218/0.4153, allocations: 0.8733 MB / 0.5796 GB, free: 1.137 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.4155, allocations: 87.2 kB / 0.5797 GB, free: 1.051 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.4158, allocations: 191.4 kB / 0.5799 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4158, allocations: 0 / 0.5799 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03466/0.4504, allocations: 10.72 MB / 0.5903 GB, free: 6.223 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.49, allocations: 17.27 kB / 0.5903 GB, free: 6.215 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.592976743995678] 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'] 12.714525995019358 12.732092257 12.343355521 Calling exit ...