Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.001791/0.001791, allocations: 109.2 kB / 20.48 MB, free: 1.492 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.002261/0.002261, allocations: 215 kB / 23.79 MB, free: 4.703 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.419/1.419, allocations: 207.6 MB / 234.6 MB, free: 10.01 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.2126/0.2126, allocations: 44.25 MB / 331.1 MB, free: 9.535 MB / 270.1 MB " [Timeout remaining time 180] 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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.003523/0.003523, allocations: 65 kB / 468.3 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1426, allocations: 61.04 MB / 0.517 GB, free: 7.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003285/0.1458, allocations: 1.721 MB / 0.5187 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1472, allocations: 0.8323 MB / 0.5195 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.54e-05/0.1473, allocations: 0 / 0.5195 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1476, allocations: 55.77 kB / 0.5195 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002073/0.1478, allocations: 55.77 kB / 0.5196 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.1481, allocations: 99.62 kB / 0.5197 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1482, allocations: 95.67 kB / 0.5198 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.1483, allocations: 12.22 kB / 0.5198 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.1484, allocations: 39.8 kB / 0.5198 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1485, allocations: 35.84 kB / 0.5198 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1485, allocations: 7.984 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-05/0.1486, allocations: 39.92 kB / 0.5199 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.437e-05/0.1487, allocations: 31.86 kB / 0.5199 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.1487, allocations: 43.62 kB / 0.52 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1489, allocations: 139.4 kB / 0.5201 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.149, allocations: 0 / 0.5201 GB, free: 4.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.149, allocations: 0 / 0.5201 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.149, allocations: 0 / 0.5201 GB, free: 4.074 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.0005595/0.1495, allocations: 369.3 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1496, allocations: 15.97 kB / 0.5205 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.621e-05/0.1496, allocations: 4.188 kB / 0.5205 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/0.1496, allocations: 34.73 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.1496, allocations: 16.84 kB / 0.5205 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.1499, allocations: 163.2 kB / 0.5207 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.1499, allocations: 4.125 kB / 0.5207 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.15, allocations: 0 / 0.5207 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.1501, allocations: 57.67 kB / 0.5207 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1501, allocations: 4 kB / 0.5207 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.1501, allocations: 0 / 0.5207 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1501, allocations: 0 / 0.5207 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.1502, allocations: 23.92 kB / 0.5208 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.1506, allocations: 267.9 kB / 0.521 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.1508, allocations: 58.67 kB / 0.5211 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.1508, allocations: 20.86 kB / 0.5211 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1509, allocations: 0 / 0.5211 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.151, allocations: 63.33 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.151, allocations: 4 kB / 0.5211 GB, free: 2.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005818/0.1516, allocations: 185.2 kB / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.1517, allocations: 59.41 kB / 0.5214 GB, free: 2.594 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/0.152, allocations: 279.7 kB / 0.5216 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.152, allocations: 25.7 kB / 0.5217 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1521, allocations: 116.1 kB / 0.5218 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/0.1521, allocations: 19.86 kB / 0.5218 GB, free: 2.141 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.1521, allocations: 21.7 kB / 0.5218 GB, free: 2.113 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1523, allocations: 330.8 kB / 0.5221 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.744e-05/0.1524, allocations: 15.98 kB / 0.5222 GB, free: 1.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.75e-05/0.1524, allocations: 41.7 kB / 0.5222 GB, free: 1.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000131/0.1526, allocations: 65.7 kB / 0.5223 GB, free: 1.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1526, allocations: 0 / 0.5223 GB, free: 1.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001949/0.1528, allocations: 106.1 kB / 0.5224 GB, free: 1.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1528, allocations: 11.94 kB / 0.5224 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1528, allocations: 7.875 kB / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/0.1528, allocations: 0 / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.1529, allocations: 20.03 kB / 0.5224 GB, free: 1.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.1529, allocations: 11.92 kB / 0.5224 GB, free: 1.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.637e-05/0.153, allocations: 3.953 kB / 0.5224 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.153, allocations: 4 kB / 0.5224 GB, free: 1.48 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.0001314/0.1531, allocations: 133.8 kB / 0.5225 GB, free: 1.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.898e-05/0.1531, allocations: 15.91 kB / 0.5226 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002682/0.1534, allocations: 122.9 kB / 0.5227 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1534, allocations: 0 / 0.5227 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1534, allocations: 7.938 kB / 0.5227 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1534, allocations: 3.984 kB / 0.5227 GB, free: 1.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.1539, allocations: 374.4 kB / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1539, allocations: 4 kB / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.131e-05/0.1539, allocations: 4 kB / 0.5231 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.1539, allocations: 7.938 kB / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1539, allocations: 0 / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1539, allocations: 0 / 0.5231 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.341e-05/0.154, allocations: 8.016 kB / 0.5231 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.1542, allocations: 212.2 kB / 0.5233 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.1542, allocations: 15.84 kB / 0.5233 GB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.1543, allocations: 4 kB / 0.5233 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.1543, allocations: 0 / 0.5233 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.1544, allocations: 11.98 kB / 0.5233 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1544, allocations: 8 kB / 0.5233 GB, free: 488 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1546, allocations: 209.4 kB / 0.5235 GB, free: 280 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1546, allocations: 0 / 0.5235 GB, free: 280 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.1549, allocations: 20 kB / 0.5235 GB, free: 260 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 (8): * Single equations (assignments): 6 * 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.002234/0.1571, allocations: 1.102 MB / 0.5246 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1573, allocations: 55.92 kB / 0.5247 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1573, allocations: 4 kB / 0.5247 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.1573, allocations: 24.05 kB / 0.5247 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1577, allocations: 31.92 kB / 0.5247 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.1599, allocations: 1.836 MB / 0.5265 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1603, allocations: 0.7196 MB / 0.5272 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.548e-05/0.1604, allocations: 21.27 kB / 0.5272 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.1605, allocations: 43.42 kB / 0.5273 GB, free: 12.33 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1605, allocations: 0 / 0.5273 GB, free: 12.33 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.1833, allocations: 3.974 MB / 0.5312 GB, free: 8.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.75, allocations: 9.062 kB / 0.5312 GB, free: 8.254 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.876004335994367] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.974808728031348 12.185284572 12.033170552 Calling exit ...