Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.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.001263/0.001263, allocations: 105.7 kB / 20.42 MB, free: 1.684 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.001395/0.001395, allocations: 216.7 kB / 23.72 MB, free: 5.055 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.507/1.507, allocations: 230.2 MB / 257.1 MB, free: 8.5 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.2362/0.2362, allocations: 46.89 MB / 360.3 MB, free: 4.656 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.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10",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.002286/0.002286, allocations: 83.86 kB / 0.4956 GB, free: 8.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3968, allocations: 65.99 MB / 0.56 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.0038/0.4006, allocations: 1.955 MB / 0.562 GB, free: 2.953 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002853/0.4035, allocations: 1.084 MB / 0.563 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.4036, allocations: 0 / 0.563 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004744/0.4041, allocations: 47.7 kB / 0.5631 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000481/0.4046, allocations: 103.5 kB / 0.5632 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.4049, allocations: 95.59 kB / 0.5632 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.4052, allocations: 151.6 kB / 0.5634 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.4054, allocations: 19.39 kB / 0.5634 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.4056, allocations: 55.72 kB / 0.5635 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.4057, allocations: 63.62 kB / 0.5635 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.4057, allocations: 4 kB / 0.5635 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.4059, allocations: 47.98 kB / 0.5636 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.355e-05/0.406, allocations: 27.86 kB / 0.5636 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.4061, allocations: 55.59 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.4065, allocations: 155.3 kB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.4065, allocations: 7.922 kB / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4065, allocations: 0 / 0.5638 GB, free: 1.043 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.4065, allocations: 0 / 0.5638 GB, free: 1.043 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009473/0.4074, allocations: 488.2 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.4075, allocations: 8.031 kB / 0.5643 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.627e-05/0.4075, allocations: 38.75 kB / 0.5643 GB, free: 468 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.4076, allocations: 16.83 kB / 0.5643 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.4081, allocations: 240.8 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/0.4081, allocations: 12.38 kB / 0.5646 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.31e-05/0.4082, allocations: 4.375 kB / 0.5646 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.4085, allocations: 112.3 kB / 0.5647 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4085, allocations: 4 kB / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.4085, allocations: 0 / 0.5647 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4085, allocations: 3.984 kB / 0.5647 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002658/0.4088, allocations: 55.91 kB / 0.5647 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008846/0.4097, allocations: 0.501 MB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.4102, allocations: 82.66 kB / 0.5653 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.4103, allocations: 36.84 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.4103, allocations: 0 / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.4106, allocations: 87.3 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.4106, allocations: 0 / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006293/0.4113, allocations: 149.5 kB / 0.5656 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.4113, allocations: 51.41 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.4116, allocations: 207 kB / 0.5658 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.4117, allocations: 29.7 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.4118, allocations: 112.1 kB / 0.566 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.4118, allocations: 32.11 kB / 0.566 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.4119, allocations: 33.7 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4121, allocations: 330.8 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.4122, allocations: 27.98 kB / 0.5664 GB, free: 14.17 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.4124, allocations: 64.2 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.4127, allocations: 100.1 kB / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4127, allocations: 0 / 0.5665 GB, free: 13.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004646/0.4132, allocations: 133.5 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.4132, allocations: 10.5 kB / 0.5667 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4132, allocations: 4.125 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.4132, allocations: 3.984 kB / 0.5667 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4134, allocations: 20 kB / 0.5667 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/0.4134, allocations: 11.92 kB / 0.5667 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.4135, allocations: 11.95 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.4135, allocations: 4 kB / 0.5667 GB, free: 13.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000163/0.4137, allocations: 129.7 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.4137, allocations: 19.89 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004499/0.4142, allocations: 127 kB / 0.567 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4142, allocations: 4 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4142, allocations: 3.938 kB / 0.567 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.4142, allocations: 3.938 kB / 0.567 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.4145, allocations: 209.6 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.4145, allocations: 0 / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.4146, allocations: 15.98 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4146, allocations: 192 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4146, allocations: 0 / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.4147, allocations: 7.938 kB / 0.5672 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4147, allocations: 7.938 kB / 0.5672 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005955/0.4153, allocations: 185 kB / 0.5674 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.4153, allocations: 85.02 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.934e-05/0.4154, allocations: 7.984 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.629e-05/0.4155, allocations: 4 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4155, allocations: 19.86 kB / 0.5675 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4155, allocations: 4.062 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.4157, allocations: 144.4 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4157, allocations: 0 / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000425/0.4162, allocations: 27.94 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002941/0.4191, allocations: 1.017 MB / 0.5687 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.4195, allocations: 83.77 kB / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4195, allocations: 0 / 0.5687 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.4196, allocations: 35.92 kB / 0.5688 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.4201, allocations: 52.47 kB / 0.5688 GB, free: 11.63 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.4234, allocations: 1.774 MB / 0.5706 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.4238, allocations: 0.7123 MB / 0.5713 GB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.396e-05/0.4239, allocations: 13.42 kB / 0.5713 GB, free: 8.992 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.424, allocations: 47.41 kB / 0.5713 GB, free: 8.945 MB / 414.1 MB Notification: Performance of SimCode: time 6.61e-07/0.424, allocations: 4 kB / 0.5713 GB, free: 8.941 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02819/0.4522, allocations: 3.849 MB / 0.5751 GB, free: 5.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.444, allocations: 11.78 kB / 0.5751 GB, free: 5.082 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.4614546331577] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.569758136756718 8.587020623 8.177025177 Calling exit ...