Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.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.001334/0.001334, allocations: 105.1 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.001455/0.001455, allocations: 213.9 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.476/1.476, allocations: 230.5 MB / 258.2 MB, free: 8.039 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.2332/0.2332, allocations: 46.93 MB / 361.6 MB, free: 4.285 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.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test29,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29",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.002351/0.002351, allocations: 79.86 kB / 0.497 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3763, allocations: 66.08 MB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003235/0.3795, allocations: 1.691 MB / 0.5632 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3805, allocations: 0.5732 MB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.3806, allocations: 0 / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002539/0.3808, allocations: 67.72 kB / 0.5638 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.3811, allocations: 103.6 kB / 0.5639 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3815, allocations: 139 kB / 0.564 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3816, allocations: 83.75 kB / 0.5641 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.3817, allocations: 26.17 kB / 0.5641 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.3818, allocations: 43.78 kB / 0.5642 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3819, allocations: 55.81 kB / 0.5642 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.3819, allocations: 4 kB / 0.5642 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.382, allocations: 47.98 kB / 0.5643 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.3821, allocations: 31.84 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.605e-05/0.3822, allocations: 39.73 kB / 0.5644 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3824, allocations: 123.4 kB / 0.5645 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3824, allocations: 3.938 kB / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3824, allocations: 0 / 0.5645 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3824, allocations: 3.984 kB / 0.5645 GB, free: 1.258 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005412/0.3829, allocations: 353.5 kB / 0.5648 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.383, allocations: 12.03 kB / 0.5648 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.99e-05/0.383, allocations: 34.75 kB / 0.5649 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.3831, allocations: 12.84 kB / 0.5649 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3832, allocations: 150.3 kB / 0.565 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3833, allocations: 4.375 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.3833, allocations: 8.375 kB / 0.565 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.3835, allocations: 66.16 kB / 0.5651 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3835, allocations: 3.938 kB / 0.5651 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3835, allocations: 8 kB / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3835, allocations: 0 / 0.5651 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3836, allocations: 39.97 kB / 0.5651 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.384, allocations: 287.8 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.3842, allocations: 46.55 kB / 0.5655 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.83e-05/0.3843, allocations: 28.91 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.3843, allocations: 0 / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3844, allocations: 46.55 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.3844, allocations: 0 / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001367/0.3857, allocations: 397 kB / 0.5659 GB, free: 15.65 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3858, allocations: 55.41 kB / 0.566 GB, free: 15.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.386, allocations: 234 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.386, allocations: 37.64 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.794e-05/0.3861, allocations: 112.1 kB / 0.5663 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.3862, allocations: 35.69 kB / 0.5664 GB, free: 15.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/0.3862, allocations: 21.72 kB / 0.5664 GB, free: 15.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3863, allocations: 330.8 kB / 0.5667 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.3865, allocations: 39.97 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.3866, allocations: 47.97 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.3868, allocations: 96.75 kB / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3868, allocations: 0 / 0.5669 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003006/0.3871, allocations: 149.8 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3871, allocations: 4 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3871, allocations: 4 kB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3871, allocations: 4 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3873, allocations: 23.98 kB / 0.5671 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3873, allocations: 4.5 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.3873, allocations: 7.984 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.3873, allocations: 4 kB / 0.5671 GB, free: 14.4 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 (11): * Single equations (assignments): 11 * 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.0001147/0.3874, allocations: 134.6 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.3875, allocations: 23.84 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.3879, allocations: 167.1 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3879, allocations: 0 / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.3879, allocations: 3.938 kB / 0.5674 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3879, allocations: 3.984 kB / 0.5674 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006603/0.3885, allocations: 447.1 kB / 0.5678 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/0.3885, allocations: 7.922 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3886, allocations: 27.97 kB / 0.5679 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3887, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.3887, allocations: 4 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3887, allocations: 3.938 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3887, allocations: 4 kB / 0.5679 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.389, allocations: 249.1 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.3891, allocations: 23.84 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.3891, allocations: 3.984 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.3892, allocations: 12 kB / 0.5681 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.3892, allocations: 12.08 kB / 0.5682 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.3892, allocations: 11.86 kB / 0.5682 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001564/0.3894, allocations: 168.3 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3894, allocations: 0 / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3896, allocations: 23.94 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00227/0.3919, allocations: 1.136 MB / 0.5695 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3922, allocations: 103.9 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3922, allocations: 3.938 kB / 0.5696 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3924, allocations: 56.03 kB / 0.5696 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.3927, allocations: 28.14 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.3952, allocations: 1.877 MB / 0.5715 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.3955, allocations: 0.708 MB / 0.5722 GB, free: 9.105 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.925e-05/0.3956, allocations: 24.47 kB / 0.5722 GB, free: 9.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.826e-05/0.3957, allocations: 43.42 kB / 0.5722 GB, free: 9.039 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3957, allocations: 0 / 0.5722 GB, free: 9.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.4235, allocations: 3.577 MB / 0.5757 GB, free: 5.469 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.365, allocations: 11.88 kB / 0.5757 GB, free: 5.461 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test29.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.333202940877527] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'clock1.y', 'clock2.y', 'd2_t_new.y'] 8.502736564725637 8.518975005 8.133402705 Calling exit ...