Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.8 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2252/0.2252, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 94.5 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1595, allocations: 62.44 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.004109/0.1636, allocations: 1.736 MB / 482 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.1659, allocations: 1.04 MB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001393/0.1661, allocations: 0 / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.1665, allocations: 35.77 kB / 483 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003884/0.1669, allocations: 95.53 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1672, allocations: 83.66 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.1675, allocations: 103.7 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1676, allocations: 15.97 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1678, allocations: 47.8 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1679, allocations: 43.77 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1679, allocations: 4 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.1682, allocations: 111.9 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1683, allocations: 19.92 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.1683, allocations: 31.8 kB / 483.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.1687, allocations: 179.8 kB / 483.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1687, allocations: 3.938 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.586e-06/0.1687, allocations: 0 / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1688, allocations: 3.938 kB / 483.8 MB, free: 1.57 MB / 350.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.0007081/0.1695, allocations: 435 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1695, allocations: 8.031 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.688e-05/0.1696, allocations: 34.75 kB / 484.2 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.1696, allocations: 8.844 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.1699, allocations: 204.2 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.17, allocations: 4.375 kB / 484.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.17, allocations: 11.92 kB / 484.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.1702, allocations: 71.33 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1702, allocations: 7.984 kB / 484.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1702, allocations: 3.938 kB / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1703, allocations: 0 / 484.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.406e-05/0.1704, allocations: 19.98 kB / 484.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.1709, allocations: 284.8 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1711, allocations: 70.55 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.207e-05/0.1712, allocations: 32.97 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.1712, allocations: 0 / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.1715, allocations: 67.39 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.1715, allocations: 0 / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007872/0.1723, allocations: 205.2 kB / 485.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.1724, allocations: 81.11 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1727, allocations: 173.2 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.1727, allocations: 25.7 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.14e-05/0.1728, allocations: 100.1 kB / 485.6 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.1729, allocations: 27.56 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.801e-05/0.1729, allocations: 33.7 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.1731, allocations: 318.8 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.728e-05/0.1732, allocations: 31.98 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.1733, allocations: 57.69 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1735, allocations: 77.64 kB / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1735, allocations: 0 / 486.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002694/0.1738, allocations: 129.3 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.1738, allocations: 8 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1739, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1739, allocations: 4.062 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.1741, allocations: 23.92 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1741, allocations: 8.031 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.86e-05/0.1742, allocations: 7.938 kB / 486.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1742, allocations: 4 kB / 486.3 MB, free: 14.79 MB / 366.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.0001528/0.1743, allocations: 121.8 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.1744, allocations: 7.906 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.349e-05/0.1745, allocations: 16.7 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1745, allocations: 8 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.1745, allocations: 3.938 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1745, allocations: 0 / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000691/0.1752, allocations: 427.1 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.1752, allocations: 3.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.248e-05/0.1753, allocations: 11.98 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1753, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1753, allocations: 4.031 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1753, allocations: 0 / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1753, allocations: 7.938 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.1756, allocations: 212.2 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.1757, allocations: 88.95 kB / 487.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.1758, allocations: 8 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.483e-05/0.1758, allocations: 8 kB / 487.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1759, allocations: 7.984 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.1759, allocations: 7.938 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001438/0.1761, allocations: 131.1 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1761, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.1764, allocations: 51.98 kB / 487.4 MB, free: 13.57 MB / 366.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.002663/0.1791, allocations: 1.206 MB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002956/0.1794, allocations: 83.91 kB / 488.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1794, allocations: 3.938 kB / 488.7 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1795, allocations: 35.98 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.1799, allocations: 37.02 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.1821, allocations: 1.663 MB / 490.4 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1825, allocations: 0.7046 MB / 491.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.242e-05/0.1826, allocations: 36.61 kB / 491.1 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.1827, allocations: 39.36 kB / 491.2 MB, free: 9.812 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1827, allocations: 4 kB / 491.2 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2157/0.3984, allocations: 4.138 MB / 495.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.668, allocations: 22.47 kB / 495.4 MB, free: 5.742 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)