Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.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.001422/0.001422, 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.514/1.514, 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.2662/0.2662, allocations: 46.93 MB / 361.6 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",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.0023/0.0023, allocations: 75.88 kB / 0.497 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3926/0.3949, allocations: 66.08 MB / 0.5616 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003698/0.3986, allocations: 1.803 MB / 0.5633 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4005, allocations: 1.049 MB / 0.5644 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.4006, allocations: 7.938 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.401, allocations: 107.6 kB / 0.5645 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.4014, allocations: 135.5 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.4016, allocations: 75.73 kB / 0.5647 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002387/0.4018, allocations: 143.6 kB / 0.5648 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.402, allocations: 11.56 kB / 0.5648 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.4021, allocations: 67.75 kB / 0.5649 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.4022, allocations: 79.72 kB / 0.565 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.4022, allocations: 4 kB / 0.565 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.4024, allocations: 63.92 kB / 0.565 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.4024, allocations: 39.84 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.4025, allocations: 47.67 kB / 0.5651 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.4028, allocations: 167.3 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.403e-06/0.4028, allocations: 4 kB / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4028, allocations: 0 / 0.5653 GB, free: 480 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4028, allocations: 0 / 0.5653 GB, free: 480 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.0006748/0.4035, allocations: 393.1 kB / 0.5656 GB, free: 56 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.4035, allocations: 12.03 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.663e-05/0.4036, allocations: 38.8 kB / 0.5657 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.4037, allocations: 16.84 kB / 0.5657 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.404, allocations: 167.1 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.404, allocations: 8.375 kB / 0.5659 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.404, allocations: 8.375 kB / 0.5659 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.4042, allocations: 73.78 kB / 0.5659 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4043, allocations: 7.891 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4043, allocations: 0 / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.4043, allocations: 0 / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4044, allocations: 35.97 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004841/0.4049, allocations: 295.8 kB / 0.5663 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.4051, allocations: 82.47 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/0.4052, allocations: 20.86 kB / 0.5664 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.4052, allocations: 4.094 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.4054, allocations: 83.36 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.4054, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008799/0.4063, allocations: 304.6 kB / 0.5667 GB, free: 14.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.4064, allocations: 59.34 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.4066, allocations: 259.7 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.4067, allocations: 29.7 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.642e-05/0.4067, allocations: 116.1 kB / 0.5672 GB, free: 14.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.4068, allocations: 51.58 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.4069, allocations: 29.7 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.407, allocations: 334.8 kB / 0.5676 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.4071, allocations: 35.98 kB / 0.5676 GB, free: 13.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.4072, allocations: 61.62 kB / 0.5677 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.4074, allocations: 97.7 kB / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4074, allocations: 0 / 0.5678 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00029/0.4077, allocations: 169.5 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4077, allocations: 10.34 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.4077, allocations: 0 / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4077, allocations: 0.8438 kB / 0.5679 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.4078, allocations: 27.98 kB / 0.568 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4078, allocations: 3.938 kB / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.502e-05/0.4079, allocations: 0 / 0.568 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.4079, allocations: 8 kB / 0.568 GB, free: 13.48 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001271/0.408, allocations: 138.6 kB / 0.5681 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.4081, allocations: 23.89 kB / 0.5681 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.4084, allocations: 187.1 kB / 0.5683 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4084, allocations: 4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4085, allocations: 7.875 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4085, allocations: 0 / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006707/0.4091, allocations: 479.1 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4091, allocations: 4.062 kB / 0.5688 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.006e-05/0.4092, allocations: 19.98 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.4092, allocations: 4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4092, allocations: 4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4092, allocations: 4 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4092, allocations: 3.938 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003235/0.4095, allocations: 264.5 kB / 0.5691 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.746e-05/0.4096, allocations: 19.88 kB / 0.5691 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.4096, allocations: 8 kB / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.631e-05/0.4097, allocations: 0 / 0.5691 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4097, allocations: 11.98 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.4097, allocations: 11.98 kB / 0.5691 GB, free: 12.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.4099, allocations: 189.5 kB / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4099, allocations: 0 / 0.5693 GB, free: 12.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.4102, allocations: 39.89 kB / 0.5693 GB, free: 11.99 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002439/0.4127, allocations: 1.201 MB / 0.5705 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.4129, allocations: 95.91 kB / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4129, allocations: 0 / 0.5706 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.413, allocations: 51.84 kB / 0.5707 GB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.4134, allocations: 31.92 kB / 0.5707 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.416, allocations: 2.009 MB / 0.5726 GB, free: 8.668 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.4164, allocations: 0.7279 MB / 0.5734 GB, free: 7.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.948e-05/0.4165, allocations: 25.41 kB / 0.5734 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4166, allocations: 55.42 kB / 0.5734 GB, free: 7.836 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4166, allocations: 0 / 0.5734 GB, free: 7.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.4468, allocations: 4.47 MB / 0.5778 GB, free: 3.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.948/8.394, allocations: 8.062 kB / 0.5778 GB, free: 3.383 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.463685794733465] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 8.533053243998438 8.54847786 8.142624237 Calling exit ...