Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.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.001992/0.001992, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002298/0.002298, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.461/1.461, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2308/0.2308, allocations: 46.94 MB / 361.6 MB, free: 4.211 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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20",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.002348/0.002348, allocations: 75.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3533, allocations: 66.08 MB / 0.5615 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.004017/0.3573, allocations: 2.073 MB / 0.5635 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3595, allocations: 1.154 MB / 0.5647 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3597, allocations: 7.938 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005762/0.3602, allocations: 263.1 kB / 0.5649 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005641/0.3608, allocations: 259.1 kB / 0.5652 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.3625, allocations: 0.6635 MB / 0.5658 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005805/0.3631, allocations: 362.7 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.3632, allocations: 56.89 kB / 0.5662 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.3634, allocations: 147.4 kB / 0.5664 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004278/0.3639, allocations: 231.2 kB / 0.5666 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.481e-05/0.3639, allocations: 12 kB / 0.5666 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.3641, allocations: 83.89 kB / 0.5667 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.3642, allocations: 99.61 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001279/0.3644, allocations: 138.9 kB / 0.5669 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004792/0.3648, allocations: 354.2 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.3648, allocations: 0 / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3648, allocations: 4 kB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3649, allocations: 3.938 kB / 0.5672 GB, free: 14.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008931/0.3658, allocations: 0.6243 MB / 0.5679 GB, free: 13.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.3658, allocations: 15.97 kB / 0.5679 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.481e-05/0.3659, allocations: 50.73 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.356e-05/0.3659, allocations: 44.66 kB / 0.568 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.3663, allocations: 276.6 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3664, allocations: 8.375 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.3664, allocations: 12.38 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002805/0.3667, allocations: 130.9 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3667, allocations: 11.89 kB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3667, allocations: 0 / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.3667, allocations: 0 / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.367, allocations: 99.88 kB / 0.5685 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.3679, allocations: 495.4 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.3681, allocations: 106.5 kB / 0.569 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.205e-05/0.3682, allocations: 40.83 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.3683, allocations: 7.984 kB / 0.5691 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3684, allocations: 34.56 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.3684, allocations: 0 / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001094/0.3695, allocations: 456.5 kB / 0.5696 GB, free: 11.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.3695, allocations: 51.41 kB / 0.5696 GB, free: 11.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007308/0.3702, allocations: 0.6073 MB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3703, allocations: 29.64 kB / 0.5702 GB, free: 11.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3705, allocations: 220.4 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.3705, allocations: 67.42 kB / 0.5705 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.3706, allocations: 37.7 kB / 0.5705 GB, free: 10.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3708, allocations: 354.8 kB / 0.5709 GB, free: 10.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3709, allocations: 67.89 kB / 0.5709 GB, free: 10.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3711, allocations: 67.95 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.3714, allocations: 154.8 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3714, allocations: 4 kB / 0.5712 GB, free: 10.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004298/0.3718, allocations: 237.2 kB / 0.5714 GB, free: 9.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.3718, allocations: 8 kB / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3718, allocations: 0 / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3718, allocations: 0 / 0.5714 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.372, allocations: 39.91 kB / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.372, allocations: 0 / 0.5714 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.3721, allocations: 15.94 kB / 0.5714 GB, free: 9.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.3721, allocations: 8 kB / 0.5715 GB, free: 9.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0002477/0.3724, allocations: 177.8 kB / 0.5716 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.831e-05/0.3724, allocations: 51.61 kB / 0.5717 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005737/0.373, allocations: 279.7 kB / 0.5719 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.373, allocations: 4 kB / 0.5719 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.373, allocations: 7.969 kB / 0.572 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.373, allocations: 4 kB / 0.572 GB, free: 9.375 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3741, allocations: 0.6574 MB / 0.5726 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3741, allocations: 0 / 0.5726 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3742, allocations: 35.98 kB / 0.5726 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3742, allocations: 0 / 0.5726 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3742, allocations: 4 kB / 0.5726 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3742, allocations: 0 / 0.5726 GB, free: 8.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3742, allocations: 7.938 kB / 0.5726 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.3747, allocations: 341.5 kB / 0.573 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.3748, allocations: 43.7 kB / 0.573 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.3748, allocations: 4 kB / 0.573 GB, free: 8.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.375, allocations: 11.98 kB / 0.573 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.375, allocations: 15.92 kB / 0.573 GB, free: 8.199 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.375, allocations: 8 kB / 0.5731 GB, free: 8.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000551/0.3756, allocations: 450.8 kB / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3756, allocations: 0 / 0.5735 GB, free: 7.754 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003184/0.3759, allocations: 55.92 kB / 0.5735 GB, free: 7.699 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.003555/0.3794, allocations: 1.468 MB / 0.575 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.38, allocations: 163.8 kB / 0.5751 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.38, allocations: 0 / 0.5751 GB, free: 6.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.3801, allocations: 83.89 kB / 0.5752 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006195/0.3808, allocations: 84.92 kB / 0.5753 GB, free: 6.168 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.3856, allocations: 3.337 MB / 0.5785 GB, free: 2.754 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.3864, allocations: 0.8299 MB / 0.5794 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.3866, allocations: 58.23 kB / 0.5794 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003314/0.3869, allocations: 139.4 kB / 0.5795 GB, free: 1.703 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3869, allocations: 0 / 0.5795 GB, free: 1.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.4209, allocations: 8.022 MB / 0.5874 GB, free: 9.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.927, allocations: 7.844 kB / 0.5874 GB, free: 9.676 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.846852343995124] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D1D.y[1]', 'combiTable2D1DT.y[1]', 'clock1.y', 'combiTable1D.y[1]', 'combiTable2D.y[1]', 'combiTable2DT.y[1]', 'der1.y', 'der2.y', 'der3.y', 'der4.y', 'der5.y'] 9.072053149808198 9.10060494 8.73107315 Calling exit ...