Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001356/0.001356, allocations: 122.2 kB / 18.5 MB, free: 4.562 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.001347/0.001347, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.61/1.61, allocations: 230.6 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2462/0.2462, allocations: 44.91 MB / 355.8 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00198/0.00198, allocations: 67.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1587, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00391/0.1626, allocations: 1.739 MB / 0.5542 GB, free: 8.32 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1646, allocations: 1.054 MB / 0.5553 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.1648, allocations: 3.938 kB / 0.5553 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003334/0.1651, allocations: 39.77 kB / 0.5553 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004274/0.1655, allocations: 95.59 kB / 0.5554 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.1658, allocations: 79.66 kB / 0.5555 GB, free: 7.047 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.1661, allocations: 111.6 kB / 0.5556 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.1662, allocations: 12.27 kB / 0.5556 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1663, allocations: 51.77 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.1664, allocations: 39.84 kB / 0.5557 GB, free: 6.836 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.1665, allocations: 4 kB / 0.5557 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002551/0.1667, allocations: 115.9 kB / 0.5558 GB, free: 6.719 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.958e-05/0.1668, allocations: 27.91 kB / 0.5558 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.675e-05/0.1668, allocations: 39.73 kB / 0.5558 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.1673, allocations: 171.3 kB / 0.556 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1673, allocations: 0 / 0.556 GB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1673, allocations: 0 / 0.556 GB, free: 6.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1673, allocations: 0 / 0.556 GB, free: 6.484 MB / 414.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.0009526/0.1683, allocations: 442.5 kB / 0.5564 GB, free: 6.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.1683, allocations: 12.03 kB / 0.5564 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.137e-05/0.1683, allocations: 192 / 0.5564 GB, free: 5.992 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1684, allocations: 30.75 kB / 0.5565 GB, free: 5.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.1684, allocations: 16.89 kB / 0.5565 GB, free: 5.938 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.1688, allocations: 219 kB / 0.5567 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.1689, allocations: 4.125 kB / 0.5567 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.1689, allocations: 8 kB / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1691, allocations: 71.31 kB / 0.5568 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1691, allocations: 0 / 0.5568 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1691, allocations: 0 / 0.5568 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1691, allocations: 4 kB / 0.5568 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.902e-05/0.1692, allocations: 19.98 kB / 0.5568 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.1697, allocations: 280.8 kB / 0.5571 GB, free: 5.246 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.1699, allocations: 66.55 kB / 0.5571 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.17, allocations: 24.97 kB / 0.5572 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.17, allocations: 7.984 kB / 0.5572 GB, free: 5.137 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/0.1702, allocations: 71.38 kB / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.1702, allocations: 0 / 0.5572 GB, free: 5.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007338/0.171, allocations: 205.3 kB / 0.5574 GB, free: 4.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/0.1711, allocations: 85.09 kB / 0.5575 GB, free: 4.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.1713, allocations: 170.2 kB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.1713, allocations: 29.7 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.1714, allocations: 96.14 kB / 0.5578 GB, free: 4.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.48e-05/0.1714, allocations: 31.73 kB / 0.5578 GB, free: 4.402 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-05/0.1715, allocations: 41.64 kB / 0.5579 GB, free: 4.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1717, allocations: 322.8 kB / 0.5582 GB, free: 4.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.1718, allocations: 27.98 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.1719, allocations: 46.56 kB / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.172, allocations: 89.61 kB / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.172, allocations: 0 / 0.5583 GB, free: 3.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002642/0.1723, allocations: 113.6 kB / 0.5584 GB, free: 3.738 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.1723, allocations: 14.17 kB / 0.5584 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1723, allocations: 0 / 0.5584 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1724, allocations: 0 / 0.5584 GB, free: 3.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.1725, allocations: 27.94 kB / 0.5585 GB, free: 3.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1725, allocations: 7.875 kB / 0.5585 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.1726, allocations: 8.016 kB / 0.5585 GB, free: 3.684 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.1726, allocations: 4 kB / 0.5585 GB, free: 3.68 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 (13): * Single equations (assignments): 13 * 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.0001263/0.1727, allocations: 121.8 kB / 0.5586 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.1727, allocations: 11.91 kB / 0.5586 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.1728, allocations: 16.7 kB / 0.5586 GB, free: 3.523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1728, allocations: 4 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.1728, allocations: 4.031 kB / 0.5586 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1728, allocations: 3.938 kB / 0.5586 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006358/0.1734, allocations: 435.1 kB / 0.5591 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1734, allocations: 0 / 0.5591 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.805e-05/0.1735, allocations: 15.98 kB / 0.5591 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/0.1735, allocations: 4 kB / 0.5591 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1735, allocations: 0 / 0.5591 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1735, allocations: 0 / 0.5591 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1735, allocations: 3.938 kB / 0.5591 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003352/0.1738, allocations: 220.2 kB / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.1739, allocations: 89.05 kB / 0.5594 GB, free: 2.664 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.1739, allocations: 4 kB / 0.5594 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.174, allocations: 4 kB / 0.5594 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.1741, allocations: 7.984 kB / 0.5594 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.1741, allocations: 4 kB / 0.5594 GB, free: 2.645 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1742, allocations: 130.7 kB / 0.5595 GB, free: 2.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1742, allocations: 4 kB / 0.5595 GB, free: 2.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.1746, allocations: 59.75 kB / 0.5596 GB, free: 2.457 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 (10): * Single equations (assignments): 8 * 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.002689/0.1773, allocations: 1.206 MB / 0.5608 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.1776, allocations: 67.91 kB / 0.5608 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1776, allocations: 0 / 0.5608 GB, free: 1.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.1777, allocations: 35.92 kB / 0.5609 GB, free: 1.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1781, allocations: 39.38 kB / 0.5609 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.1803, allocations: 1.667 MB / 0.5625 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.1806, allocations: 0.7006 MB / 0.5632 GB, free: 14.82 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.64e-05/0.1807, allocations: 32.41 kB / 0.5632 GB, free: 14.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.722e-05/0.1808, allocations: 35.78 kB / 0.5633 GB, free: 14.75 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1808, allocations: 0 / 0.5633 GB, free: 14.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.2038, allocations: 4.309 MB / 0.5675 GB, free: 10.46 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/8.665, allocations: 11.59 kB / 0.5675 GB, free: 10.45 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.895326456055045] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.857054263004102 8.887802511 8.715153557 Calling exit ...