Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.001783/0.001783, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002082/0.002082, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.517/1.517, allocations: 207.7 MB / 234.6 MB, free: 9.797 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.2308/0.2308, allocations: 44.27 MB / 331.1 MB, free: 9.324 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.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",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.002205/0.002205, allocations: 71.91 kB / 468.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1457, allocations: 61.05 MB / 0.517 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003998/0.1497, allocations: 1.678 MB / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1515, allocations: 0.7855 MB / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1516, allocations: 0 / 0.5194 GB, free: 4.648 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000389/0.152, allocations: 39.77 kB / 0.5194 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.1523, allocations: 59.75 kB / 0.5195 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00032/0.1526, allocations: 87.77 kB / 0.5196 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.1528, allocations: 103.6 kB / 0.5197 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.153, allocations: 12.22 kB / 0.5197 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1531, allocations: 43.78 kB / 0.5197 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1532, allocations: 31.84 kB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.78e-05/0.1532, allocations: 4 kB / 0.5197 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.1533, allocations: 47.97 kB / 0.5198 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.945e-05/0.1534, allocations: 19.92 kB / 0.5198 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.1535, allocations: 27.75 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.1538, allocations: 111.6 kB / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1538, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1538, allocations: 0 / 0.5199 GB, free: 4.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1538, allocations: 0 / 0.5199 GB, free: 4.07 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.0006636/0.1544, allocations: 349.6 kB / 0.5203 GB, free: 3.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1545, allocations: 11.97 kB / 0.5203 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.1545, allocations: 192 / 0.5203 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.034e-05/0.1545, allocations: 38.75 kB / 0.5203 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.1546, allocations: 8.891 kB / 0.5203 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1549, allocations: 155 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.155, allocations: 8.062 kB / 0.5205 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.155, allocations: 8 kB / 0.5205 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.1552, allocations: 61.59 kB / 0.5206 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1552, allocations: 0 / 0.5206 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1552, allocations: 4 kB / 0.5206 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1552, allocations: 0 / 0.5206 GB, free: 3.371 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.1553, allocations: 19.98 kB / 0.5206 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.1557, allocations: 252 kB / 0.5208 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1559, allocations: 62.61 kB / 0.5209 GB, free: 2.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.156, allocations: 16.86 kB / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.156, allocations: 0 / 0.5209 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1562, allocations: 75.38 kB / 0.521 GB, free: 2.887 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.1562, allocations: 4 kB / 0.521 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006418/0.1568, allocations: 177.3 kB / 0.5211 GB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.1569, allocations: 55.41 kB / 0.5212 GB, free: 2.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.1571, allocations: 203.2 kB / 0.5214 GB, free: 2.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1571, allocations: 29.7 kB / 0.5214 GB, free: 2.395 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.394e-05/0.1572, allocations: 104.1 kB / 0.5215 GB, free: 2.289 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.1573, allocations: 27.83 kB / 0.5215 GB, free: 2.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.1573, allocations: 21.72 kB / 0.5216 GB, free: 2.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1575, allocations: 326.8 kB / 0.5219 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.1575, allocations: 23.92 kB / 0.5219 GB, free: 1.883 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.029e-05/0.1576, allocations: 41.7 kB / 0.5219 GB, free: 1.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.1578, allocations: 57.7 kB / 0.522 GB, free: 1.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1578, allocations: 0 / 0.522 GB, free: 1.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002091/0.158, allocations: 105.5 kB / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.158, allocations: 4 kB / 0.5221 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.158, allocations: 4 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.158, allocations: 3.984 kB / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1581, allocations: 12 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.1581, allocations: 16.05 kB / 0.5221 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.573e-05/0.1582, allocations: 4 kB / 0.5221 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1582, allocations: 8 kB / 0.5221 GB, free: 1.613 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.0001175/0.1583, allocations: 129.8 kB / 0.5223 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1583, allocations: 11.95 kB / 0.5223 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.1587, allocations: 123.1 kB / 0.5224 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1587, allocations: 0 / 0.5224 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.1587, allocations: 7.922 kB / 0.5224 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1587, allocations: 0 / 0.5224 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/0.1593, allocations: 378.4 kB / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1593, allocations: 0 / 0.5228 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.1593, allocations: 12 kB / 0.5228 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1593, allocations: 3.938 kB / 0.5228 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.1594, allocations: 0 / 0.5228 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1594, allocations: 4 kB / 0.5228 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1594, allocations: 0 / 0.5228 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1597, allocations: 216.3 kB / 0.523 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.1597, allocations: 15.78 kB / 0.523 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1597, allocations: 4.375 kB / 0.523 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1598, allocations: 4.031 kB / 0.523 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1598, allocations: 15.98 kB / 0.523 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.1598, allocations: 4 kB / 0.523 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.16, allocations: 152.9 kB / 0.5232 GB, free: 472 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.16, allocations: 4 kB / 0.5232 GB, free: 468 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003734/0.1604, allocations: 23.98 kB / 0.5232 GB, free: 444 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.002663/0.163, allocations: 1.141 MB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1632, allocations: 55.91 kB / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1632, allocations: 0 / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.426e-05/0.1633, allocations: 31.98 kB / 0.5244 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1637, allocations: 27.73 kB / 0.5244 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.1661, allocations: 1.685 MB / 0.5261 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.1662, allocations: 88.19 kB / 0.5262 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.757e-05/0.1663, allocations: 12.48 kB / 0.5262 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.1664, allocations: 35.42 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1664, allocations: 0 / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.193, allocations: 3.786 MB / 0.5299 GB, free: 9.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.94, allocations: 4.062 kB / 0.5299 GB, free: 9.363 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.178326059016399] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.154081154963933 12.38004262 12.223504887 Calling exit ...