Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001307/0.001307, allocations: 109 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.001722/0.001722, allocations: 215.8 kB / 23.79 MB, free: 4.707 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.691/1.691, allocations: 207.6 MB / 234.6 MB, free: 9.98 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.2438/0.2438, allocations: 44.23 MB / 331.1 MB, free: 9.527 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.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",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.002189/0.002189, allocations: 70.56 kB / 468.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1422, allocations: 61.04 MB / 0.517 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003702/0.1459, allocations: 1.72 MB / 0.5186 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1473, allocations: 0.8284 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.212e-05/0.1474, allocations: 4 kB / 0.5195 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1477, allocations: 47.75 kB / 0.5195 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.148, allocations: 51.77 kB / 0.5196 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.1482, allocations: 87.75 kB / 0.5196 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.1484, allocations: 95.64 kB / 0.5197 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1485, allocations: 12.22 kB / 0.5197 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1486, allocations: 47.77 kB / 0.5198 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.179e-05/0.1487, allocations: 27.86 kB / 0.5198 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.1487, allocations: 4 kB / 0.5198 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1488, allocations: 43.97 kB / 0.5199 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.509e-05/0.1489, allocations: 23.86 kB / 0.5199 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.149, allocations: 31.75 kB / 0.5199 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1492, allocations: 115.6 kB / 0.52 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1492, allocations: 0 / 0.52 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1492, allocations: 0 / 0.52 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1492, allocations: 0 / 0.52 GB, free: 4.133 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.0005699/0.1498, allocations: 337.7 kB / 0.5203 GB, free: 3.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.1499, allocations: 8.031 kB / 0.5204 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.7e-05/0.1499, allocations: 4.188 kB / 0.5204 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.1499, allocations: 34.75 kB / 0.5204 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.15, allocations: 16.78 kB / 0.5204 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.1502, allocations: 158.3 kB / 0.5206 GB, free: 3.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1503, allocations: 4.125 kB / 0.5206 GB, free: 3.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1503, allocations: 4 kB / 0.5206 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.1504, allocations: 53.67 kB / 0.5206 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1504, allocations: 0 / 0.5206 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.1504, allocations: 4 kB / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1505, allocations: 0 / 0.5206 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.431e-05/0.1505, allocations: 23.92 kB / 0.5206 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.1509, allocations: 259.8 kB / 0.5209 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1511, allocations: 50.62 kB / 0.5209 GB, free: 3.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.1511, allocations: 24.91 kB / 0.521 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1511, allocations: 4 kB / 0.521 GB, free: 3.043 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1513, allocations: 71.28 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1513, allocations: 0 / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005751/0.1519, allocations: 165.5 kB / 0.5212 GB, free: 2.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.1519, allocations: 59.34 kB / 0.5213 GB, free: 2.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1521, allocations: 194 kB / 0.5214 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.1521, allocations: 29.7 kB / 0.5215 GB, free: 2.488 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.1522, allocations: 96.14 kB / 0.5216 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.1522, allocations: 31.77 kB / 0.5216 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/0.1523, allocations: 25.72 kB / 0.5216 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1524, allocations: 322.8 kB / 0.5219 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.1525, allocations: 23.98 kB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-05/0.1526, allocations: 34.08 kB / 0.522 GB, free: 1.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1527, allocations: 61.64 kB / 0.522 GB, free: 1.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1527, allocations: 4 kB / 0.522 GB, free: 1.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.1529, allocations: 105.7 kB / 0.5221 GB, free: 1.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1529, allocations: 4 kB / 0.5221 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1529, allocations: 0 / 0.5221 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1529, allocations: 4 kB / 0.5221 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.153, allocations: 19.92 kB / 0.5222 GB, free: 1.734 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.153, allocations: 7.969 kB / 0.5222 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.438e-05/0.1531, allocations: 4 kB / 0.5222 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1531, allocations: 7.938 kB / 0.5222 GB, free: 1.715 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.0001146/0.1532, allocations: 129.8 kB / 0.5223 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1532, allocations: 7.953 kB / 0.5223 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002447/0.1534, allocations: 114.3 kB / 0.5224 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1534, allocations: 4 kB / 0.5224 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1535, allocations: 3.938 kB / 0.5224 GB, free: 1.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1535, allocations: 4 kB / 0.5224 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004445/0.1539, allocations: 358.4 kB / 0.5228 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1539, allocations: 4 kB / 0.5228 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.1539, allocations: 4 kB / 0.5228 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1539, allocations: 8.125 kB / 0.5228 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.154, allocations: 7.984 kB / 0.5228 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.154, allocations: 3.938 kB / 0.5228 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.154, allocations: 4 kB / 0.5228 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1542, allocations: 200.4 kB / 0.523 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.1542, allocations: 15.84 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.265e-05/0.1542, allocations: 7.938 kB / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.1543, allocations: 0 / 0.523 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.1543, allocations: 7.984 kB / 0.523 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1544, allocations: 4 kB / 0.523 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1545, allocations: 147.2 kB / 0.5232 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1545, allocations: 0 / 0.5232 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1548, allocations: 23.94 kB / 0.5232 GB, free: 0.5859 MB / 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.002204/0.157, allocations: 1.094 MB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1571, allocations: 47.98 kB / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1571, allocations: 0 / 0.5243 GB, free: 15.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.1572, allocations: 35.91 kB / 0.5243 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1576, allocations: 36.03 kB / 0.5244 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.1594, allocations: 1.63 MB / 0.526 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.1597, allocations: 0.704 MB / 0.5267 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.847e-05/0.1598, allocations: 29.2 kB / 0.5267 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.498e-05/0.1599, allocations: 31.42 kB / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1599, allocations: 0 / 0.5267 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.1823, allocations: 3.577 MB / 0.5302 GB, free: 9.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.33, allocations: 9 kB / 0.5302 GB, free: 9.211 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.85653300199192] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.544674454024062 11.745759696 11.593874436 Calling exit ...