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.001626/0.001626, 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.002059/0.002059, allocations: 219.8 kB / 23.72 MB, free: 5.051 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.494/1.494, allocations: 230.2 MB / 257.1 MB, free: 8.488 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.2461/0.2461, allocations: 46.9 MB / 360.3 MB, free: 4.621 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.002373/0.002373, allocations: 84.19 kB / 0.4956 GB, free: 8.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4244, allocations: 65.99 MB / 0.5601 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003786/0.4282, allocations: 1.78 MB / 0.5618 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002183/0.4303, allocations: 1.053 MB / 0.5628 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.4304, allocations: 3.938 kB / 0.5629 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.4308, allocations: 111.6 kB / 0.563 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.4312, allocations: 123.5 kB / 0.5631 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4314, allocations: 79.67 kB / 0.5632 GB, free: 1.746 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.4317, allocations: 139.6 kB / 0.5633 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.4318, allocations: 15.22 kB / 0.5633 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.4319, allocations: 67.75 kB / 0.5634 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.4321, allocations: 79.72 kB / 0.5634 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.4321, allocations: 4 kB / 0.5634 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.4322, allocations: 59.98 kB / 0.5635 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.4323, allocations: 39.84 kB / 0.5635 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.4324, allocations: 55.61 kB / 0.5636 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.4327, allocations: 163.3 kB / 0.5637 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4327, allocations: 0 / 0.5637 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4327, allocations: 4 kB / 0.5638 GB, free: 1.129 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4327, allocations: 0 / 0.5638 GB, free: 1.129 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007227/0.4334, allocations: 466.3 kB / 0.5642 GB, free: 0.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4335, allocations: 8.031 kB / 0.5642 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.4335, allocations: 42.72 kB / 0.5642 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.4336, allocations: 20.84 kB / 0.5643 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.434, allocations: 229 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.434, allocations: 8.375 kB / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.434, allocations: 384 / 0.5645 GB, free: 280 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.4342, allocations: 77.78 kB / 0.5646 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4342, allocations: 7.891 kB / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4342, allocations: 0 / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4342, allocations: 0 / 0.5646 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4343, allocations: 39.97 kB / 0.5646 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.4348, allocations: 340.7 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.4351, allocations: 66.55 kB / 0.565 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/0.4352, allocations: 20.86 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4352, allocations: 7.922 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.4354, allocations: 83.33 kB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.4354, allocations: 0 / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008797/0.4363, allocations: 305.2 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.4363, allocations: 59.34 kB / 0.5655 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.4366, allocations: 263.7 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.4366, allocations: 25.7 kB / 0.5657 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.464e-05/0.4367, allocations: 120.1 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.524e-05/0.4368, allocations: 47.64 kB / 0.5659 GB, free: 14.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-05/0.4368, allocations: 29.7 kB / 0.5659 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.437, allocations: 330.8 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.437, allocations: 35.98 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.4371, allocations: 61.62 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.4373, allocations: 101.7 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4373, allocations: 0 / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003031/0.4376, allocations: 164.9 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4377, allocations: 4 kB / 0.5666 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4377, allocations: 4 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4377, allocations: 0.8438 kB / 0.5666 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.4378, allocations: 27.92 kB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.4378, allocations: 7.938 kB / 0.5666 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.4378, allocations: 4.109 kB / 0.5666 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4378, allocations: 11.97 kB / 0.5666 GB, free: 13.92 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.0001413/0.438, allocations: 137.1 kB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.438, allocations: 19.86 kB / 0.5668 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.4384, allocations: 187.1 kB / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4384, allocations: 0 / 0.567 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4384, allocations: 11.88 kB / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4384, allocations: 0 / 0.567 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006615/0.4391, allocations: 0.5 MB / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4391, allocations: 0 / 0.5675 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/0.4391, allocations: 23.92 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4391, allocations: 4 kB / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4391, allocations: 0 / 0.5675 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4392, allocations: 8 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4392, allocations: 0 / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003366/0.4395, allocations: 265.1 kB / 0.5678 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.716e-05/0.4396, allocations: 89.02 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.4396, allocations: 4 kB / 0.5678 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.648e-05/0.4397, allocations: 11.92 kB / 0.5679 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4397, allocations: 15.98 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.4397, allocations: 7.984 kB / 0.5679 GB, free: 12.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.4399, allocations: 197.5 kB / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4399, allocations: 0 / 0.5681 GB, free: 12.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.4402, allocations: 43.88 kB / 0.5681 GB, free: 12.3 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.002635/0.4429, allocations: 1.191 MB / 0.5693 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002789/0.4431, allocations: 95.83 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4431, allocations: 4 kB / 0.5694 GB, free: 11.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4432, allocations: 43.86 kB / 0.5694 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4436, allocations: 42.33 kB / 0.5694 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.4461, allocations: 2.01 MB / 0.5714 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4465, allocations: 0.724 MB / 0.5721 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.931e-05/0.4465, allocations: 33.41 kB / 0.5721 GB, free: 8.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.4466, allocations: 51.42 kB / 0.5722 GB, free: 8.148 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4466, allocations: 0 / 0.5722 GB, free: 8.148 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02783/0.4745, allocations: 4.398 MB / 0.5765 GB, free: 3.762 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.095/8.57, allocations: 11.73 kB / 0.5765 GB, free: 3.75 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.63112668087706] 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.69643627293408 8.712180192 8.276195514 Calling exit ...