Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001713/0.001713, 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.001968/0.001968, 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.504/1.504, allocations: 230.5 MB / 258.2 MB, free: 8.031 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.26/0.26, allocations: 46.94 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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",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.002422/0.002422, allocations: 87.81 kB / 0.497 GB, free: 7.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3879, allocations: 66.08 MB / 0.5616 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00349/0.3914, allocations: 1.944 MB / 0.5635 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.3934, allocations: 1.157 MB / 0.5646 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.3935, allocations: 3.938 kB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004419/0.3939, allocations: 223.4 kB / 0.5648 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005271/0.3945, allocations: 215.2 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.3947, allocations: 123.6 kB / 0.5651 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005376/0.3953, allocations: 259.2 kB / 0.5654 GB, free: 368 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3954, allocations: 15.94 kB / 0.5654 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.3956, allocations: 135.4 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.3958, allocations: 167.5 kB / 0.5657 GB, free: 48 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.3958, allocations: 8 kB / 0.5657 GB, free: 40 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.3959, allocations: 67.97 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3961, allocations: 63.7 kB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3962, allocations: 91.3 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.3965, allocations: 246.7 kB / 0.5662 GB, free: 15.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3965, allocations: 4 kB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3965, allocations: 0 / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.94e-06/0.3965, allocations: 0 / 0.5662 GB, free: 15.57 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007544/0.3973, allocations: 0.4964 MB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.3973, allocations: 12.03 kB / 0.5667 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.607e-05/0.3973, allocations: 38.73 kB / 0.5667 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.471e-05/0.3974, allocations: 32.75 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3978, allocations: 234.4 kB / 0.5669 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.3978, allocations: 12.36 kB / 0.567 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.3978, allocations: 8.375 kB / 0.567 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3981, allocations: 111.4 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3981, allocations: 0 / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3981, allocations: 7.938 kB / 0.5671 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3981, allocations: 4 kB / 0.5671 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3982, allocations: 39.97 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.3988, allocations: 455.8 kB / 0.5676 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.3992, allocations: 109.2 kB / 0.5677 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3993, allocations: 45.81 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3993, allocations: 15.88 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3996, allocations: 109.2 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.3996, allocations: 0 / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001285/0.4009, allocations: 0.5129 MB / 0.5683 GB, free: 13.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.4009, allocations: 85.05 kB / 0.5684 GB, free: 13.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/0.4014, allocations: 444.5 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.4014, allocations: 33.7 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.4016, allocations: 152.5 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.141e-05/0.4017, allocations: 75.42 kB / 0.5691 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.4017, allocations: 45.7 kB / 0.5691 GB, free: 12.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4019, allocations: 346.8 kB / 0.5695 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.402, allocations: 55.98 kB / 0.5695 GB, free: 11.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.4022, allocations: 96.2 kB / 0.5696 GB, free: 11.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.4025, allocations: 163.3 kB / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4025, allocations: 0 / 0.5698 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004363/0.403, allocations: 233.7 kB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.403, allocations: 7.938 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.403, allocations: 3.938 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.403, allocations: 4 kB / 0.57 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.4031, allocations: 39.98 kB / 0.57 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4032, allocations: 4.297 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.4032, allocations: 15.94 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.4033, allocations: 11.98 kB / 0.5701 GB, free: 11.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001993/0.4035, allocations: 173.7 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.4035, allocations: 27.81 kB / 0.5703 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005876/0.4041, allocations: 268.3 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4041, allocations: 4 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4041, allocations: 4 kB / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4041, allocations: 0 / 0.5705 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.4054, allocations: 0.7106 MB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.259e-06/0.4054, allocations: 4.188 kB / 0.5712 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.4055, allocations: 23.98 kB / 0.5712 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4055, allocations: 16 kB / 0.5713 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.4055, allocations: 8 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.411e-06/0.4055, allocations: 4 kB / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4055, allocations: 0 / 0.5713 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.4062, allocations: 433.8 kB / 0.5717 GB, free: 9.551 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.459e-05/0.4062, allocations: 27.77 kB / 0.5717 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.4063, allocations: 11.98 kB / 0.5717 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.4064, allocations: 8 kB / 0.5717 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.4065, allocations: 23.91 kB / 0.5717 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4065, allocations: 11.94 kB / 0.5718 GB, free: 9.469 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004877/0.407, allocations: 335 kB / 0.5721 GB, free: 9.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.407, allocations: 0 / 0.5721 GB, free: 9.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004092/0.4074, allocations: 51.92 kB / 0.5721 GB, free: 9.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003237/0.4106, allocations: 1.365 MB / 0.5735 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006406/0.4113, allocations: 147.8 kB / 0.5736 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.4113, allocations: 3.938 kB / 0.5736 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.4115, allocations: 79.97 kB / 0.5737 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.4125, allocations: 57.39 kB / 0.5737 GB, free: 7.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006325/0.4188, allocations: 2.877 MB / 0.5765 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.4196, allocations: 0.7753 MB / 0.5773 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.4198, allocations: 33.94 kB / 0.5773 GB, free: 3.758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002297/0.42, allocations: 103.4 kB / 0.5774 GB, free: 3.656 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.42, allocations: 0 / 0.5774 GB, free: 3.656 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.4541, allocations: 6.592 MB / 0.5839 GB, free: 13.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.153/8.607, allocations: 0.7031 kB / 0.5839 GB, free: 13.09 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.737419869750738] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.757673125714064 8.781709916 8.380125249 Calling exit ...