Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2369/0.2369, allocations: 46.97 MB / 361.7 MB, free: 4.039 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.89 kB / 0.4969 GB, free: 7.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4337, allocations: 66.03 MB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003763/0.4375, allocations: 1.712 MB / 0.5631 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.4395, allocations: 0.9677 MB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.242e-05/0.4396, allocations: 0 / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003332/0.4399, allocations: 39.78 kB / 0.5641 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.4403, allocations: 103.5 kB / 0.5642 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.4405, allocations: 83.66 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.4407, allocations: 99.69 kB / 0.5644 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4408, allocations: 9.828 kB / 0.5644 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.307e-05/0.4409, allocations: 47.78 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.475e-05/0.441, allocations: 35.78 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.441, allocations: 4 kB / 0.5644 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.4411, allocations: 47.97 kB / 0.5645 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.4412, allocations: 23.86 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.4413, allocations: 23.81 kB / 0.5645 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002479/0.4415, allocations: 119.5 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4415, allocations: 0 / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4415, allocations: 0 / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4415, allocations: 0 / 0.5646 GB, free: 0.8945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006128/0.4422, allocations: 349.5 kB / 0.565 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4422, allocations: 12.03 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.524e-05/0.4422, allocations: 4.188 kB / 0.565 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.004e-05/0.4423, allocations: 38.73 kB / 0.565 GB, free: 472 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.4423, allocations: 8.891 kB / 0.565 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.4426, allocations: 154.9 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.4427, allocations: 8.125 kB / 0.5652 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.4427, allocations: 4 kB / 0.5652 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.4429, allocations: 53.67 kB / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4429, allocations: 0 / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4429, allocations: 0 / 0.5653 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4429, allocations: 8 kB / 0.5653 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.443, allocations: 19.98 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.4434, allocations: 259.9 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.4436, allocations: 58.62 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.4437, allocations: 20.84 kB / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4437, allocations: 0 / 0.5656 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002119/0.4439, allocations: 71.39 kB / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.4439, allocations: 0 / 0.5657 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006407/0.4446, allocations: 189.3 kB / 0.5659 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.4446, allocations: 59.39 kB / 0.5659 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.4449, allocations: 202.2 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4449, allocations: 29.7 kB / 0.5661 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.294e-05/0.445, allocations: 104.1 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.445, allocations: 27.78 kB / 0.5663 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.445, allocations: 21.72 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4452, allocations: 326.8 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.4453, allocations: 19.94 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.4454, allocations: 41.64 kB / 0.5666 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4455, allocations: 65.7 kB / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.4455, allocations: 0 / 0.5667 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002028/0.4457, allocations: 105.5 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4457, allocations: 4 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4457, allocations: 0 / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.4457, allocations: 4 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.4458, allocations: 23.92 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.4459, allocations: 4.094 kB / 0.5668 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.016e-05/0.4459, allocations: 8.031 kB / 0.5669 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.4459, allocations: 3.984 kB / 0.5669 GB, free: 14.43 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 (10): * Single equations (assignments): 10 * 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.0001226/0.446, allocations: 133.8 kB / 0.567 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.4461, allocations: 11.91 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.4464, allocations: 119 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.4464, allocations: 4 kB / 0.5671 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4464, allocations: 3.938 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4464, allocations: 0 / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.4469, allocations: 366.4 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4469, allocations: 4.031 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-05/0.4469, allocations: 12 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.4469, allocations: 7.922 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.447, allocations: 4 kB / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.447, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.447, allocations: 0 / 0.5675 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.4472, allocations: 212.5 kB / 0.5677 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.4473, allocations: 11.89 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.4473, allocations: 8.359 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.4474, allocations: 4.094 kB / 0.5677 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.4474, allocations: 15.92 kB / 0.5677 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.4474, allocations: 11.94 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.4476, allocations: 152.2 kB / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4476, allocations: 0 / 0.5679 GB, free: 13.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.4478, allocations: 27.94 kB / 0.5679 GB, free: 13.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.002465/0.4503, allocations: 1.138 MB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.4505, allocations: 59.89 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4505, allocations: 4 kB / 0.5691 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.4506, allocations: 27.98 kB / 0.5691 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.451, allocations: 19.98 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.453, allocations: 1.69 MB / 0.5708 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.331e-05/0.4531, allocations: 92.12 kB / 0.5709 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.4532, allocations: 12.97 kB / 0.5709 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.453e-05/0.4532, allocations: 35.42 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4532, allocations: 3.938 kB / 0.5709 GB, free: 10.24 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/0.4784, allocations: 3.808 MB / 0.5746 GB, free: 6.512 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.91, allocations: 13.16 kB / 0.5747 GB, free: 6.508 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.005880827084184] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.132942156982608 12.157960899 11.711852128 Calling exit ...