Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002165/0.002165, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002221/0.002221, allocations: 211.1 kB / 23.78 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2426/0.2426, allocations: 44.27 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002229/0.002229, allocations: 75.88 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1419, allocations: 61.04 MB / 0.517 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003592/0.1455, allocations: 1.686 MB / 0.5186 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1472, allocations: 0.7778 MB / 0.5194 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.1473, allocations: 4 kB / 0.5194 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003902/0.1477, allocations: 39.75 kB / 0.5194 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003433/0.1481, allocations: 55.77 kB / 0.5195 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1484, allocations: 95.69 kB / 0.5196 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.1487, allocations: 95.7 kB / 0.5197 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.1488, allocations: 16.09 kB / 0.5197 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.149, allocations: 43.83 kB / 0.5197 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1491, allocations: 35.8 kB / 0.5197 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1491, allocations: 4 kB / 0.5197 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1493, allocations: 43.98 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.1494, allocations: 23.91 kB / 0.5198 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.627e-05/0.1494, allocations: 19.88 kB / 0.5198 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1498, allocations: 111.5 kB / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1498, allocations: 0 / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1498, allocations: 0 / 0.5199 GB, free: 4.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1498, allocations: 3.938 kB / 0.5199 GB, free: 4.051 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.00079/0.1506, allocations: 337.7 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1506, allocations: 12.03 kB / 0.5203 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.145e-05/0.1507, allocations: 4.188 kB / 0.5203 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.207e-05/0.1507, allocations: 34.75 kB / 0.5203 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.672e-05/0.1508, allocations: 16.83 kB / 0.5203 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.1512, allocations: 146.3 kB / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1513, allocations: 4.125 kB / 0.5205 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.1513, allocations: 8 kB / 0.5205 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1515, allocations: 53.61 kB / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1515, allocations: 0 / 0.5205 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1515, allocations: 4 kB / 0.5205 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1515, allocations: 4 kB / 0.5205 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.1516, allocations: 19.98 kB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004618/0.1521, allocations: 252 kB / 0.5208 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1523, allocations: 62.59 kB / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.1523, allocations: 20.84 kB / 0.5209 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.1523, allocations: 0 / 0.5209 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.1525, allocations: 71.34 kB / 0.5209 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1525, allocations: 0 / 0.5209 GB, free: 2.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007028/0.1532, allocations: 185.5 kB / 0.5211 GB, free: 2.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.1533, allocations: 51.41 kB / 0.5212 GB, free: 2.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.1535, allocations: 198 kB / 0.5214 GB, free: 2.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.1536, allocations: 33.7 kB / 0.5214 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1537, allocations: 100.1 kB / 0.5215 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1537, allocations: 27.73 kB / 0.5215 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.667e-05/0.1538, allocations: 25.7 kB / 0.5215 GB, free: 2.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1539, allocations: 322.8 kB / 0.5218 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.154, allocations: 16.19 kB / 0.5219 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1541, allocations: 49.58 kB / 0.5219 GB, free: 1.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1542, allocations: 69.69 kB / 0.522 GB, free: 1.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1542, allocations: 0 / 0.522 GB, free: 1.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002283/0.1545, allocations: 109.5 kB / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1545, allocations: 4 kB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1545, allocations: 0 / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.1545, allocations: 0 / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.1546, allocations: 19.98 kB / 0.5221 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1546, allocations: 3.938 kB / 0.5221 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.625e-05/0.1547, allocations: 4 kB / 0.5221 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1547, allocations: 4.031 kB / 0.5221 GB, free: 1.617 MB / 398.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.0001413/0.1548, allocations: 133.8 kB / 0.5222 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1549, allocations: 7.953 kB / 0.5222 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002793/0.1551, allocations: 118.3 kB / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1551, allocations: 0 / 0.5224 GB, free: 1.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1551, allocations: 3.938 kB / 0.5224 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1551, allocations: 4 kB / 0.5224 GB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.1557, allocations: 366.4 kB / 0.5227 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1557, allocations: 4.031 kB / 0.5227 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.1557, allocations: 8 kB / 0.5227 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.1557, allocations: 7.938 kB / 0.5227 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1557, allocations: 7.984 kB / 0.5227 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1557, allocations: 240 / 0.5227 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1557, allocations: 4 kB / 0.5227 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.156, allocations: 208.3 kB / 0.5229 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.156, allocations: 15.84 kB / 0.523 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1561, allocations: 8 kB / 0.523 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.1561, allocations: 4.359 kB / 0.523 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.1562, allocations: 11.98 kB / 0.523 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1562, allocations: 4 kB / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1563, allocations: 143.2 kB / 0.5231 GB, free: 500 kB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1563, allocations: 3.938 kB / 0.5231 GB, free: 496 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.1566, allocations: 31.86 kB / 0.5232 GB, free: 464 kB / 398.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.002534/0.1591, allocations: 1.129 MB / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.1594, allocations: 51.98 kB / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1594, allocations: 0 / 0.5243 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.1594, allocations: 31.92 kB / 0.5243 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.1598, allocations: 31.19 kB / 0.5244 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.1618, allocations: 1.666 MB / 0.526 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.1619, allocations: 88.12 kB / 0.5261 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.749e-05/0.162, allocations: 20.78 kB / 0.5261 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.1621, allocations: 39.36 kB / 0.5261 GB, free: 13.31 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1621, allocations: 0 / 0.5261 GB, free: 13.31 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.1866, allocations: 3.718 MB / 0.5298 GB, free: 9.477 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.43, allocations: 4.062 kB / 0.5298 GB, free: 9.473 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.119915628107265] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.653761804918759 11.898890392 11.745194226 Calling exit ...