Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00143/0.00143, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001605/0.001605, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.3 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.1 MB / 343.6 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 79.17 kB / 416.9 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1381, allocations: 62.45 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004484/0.1427, allocations: 2.405 MB / 481.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003236/0.1459, allocations: 1.384 MB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004677/0.1464, allocations: 7.938 kB / 483.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007118/0.1472, allocations: 271.3 kB / 483.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.1481, allocations: 303 kB / 483.8 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005851/0.1487, allocations: 199.5 kB / 483.9 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007573/0.1495, allocations: 0.5179 MB / 484.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.1497, allocations: 61.06 kB / 484.5 MB, free: 448 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.1502, allocations: 219 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.1505, allocations: 270.8 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.691e-05/0.1506, allocations: 12 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001844/0.1508, allocations: 51.92 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.151, allocations: 103.6 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.1512, allocations: 182.6 kB / 485.3 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.1517, allocations: 410.7 kB / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1517, allocations: 0 / 485.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1517, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.1517, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001429/0.1531, allocations: 0.7823 MB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1532, allocations: 8.875 kB / 486.5 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.863e-05/0.1533, allocations: 50.73 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.1534, allocations: 60.22 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.154, allocations: 415.8 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.154, allocations: 8.375 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1541, allocations: 19.94 kB / 487.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.1545, allocations: 209.8 kB / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1545, allocations: 0 / 487.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.1546, allocations: 8 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1546, allocations: 4 kB / 487.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.1548, allocations: 95.86 kB / 487.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009116/0.1558, allocations: 0.8682 MB / 488.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1565, allocations: 289.2 kB / 488.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.1567, allocations: 104.2 kB / 488.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.1567, allocations: 8 kB / 488.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004917/0.1572, allocations: 216.5 kB / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 1.583e-06/0.1572, allocations: 0 / 488.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002054/0.1593, allocations: 1.018 MB / 489.9 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.1594, allocations: 162.2 kB / 490 MB, free: 10.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007404/0.1601, allocations: 0.663 MB / 490.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.1602, allocations: 41.69 kB / 490.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.1604, allocations: 229.1 kB / 491 MB, free: 9.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.1605, allocations: 118.4 kB / 491.1 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.1606, allocations: 74.12 kB / 491.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002403/0.1609, allocations: 370.8 kB / 491.5 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.1611, allocations: 104.8 kB / 491.6 MB, free: 8.977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.1614, allocations: 180.8 kB / 491.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.1619, allocations: 306.6 kB / 492.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1619, allocations: 0 / 492.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007074/0.1626, allocations: 412.5 kB / 492.5 MB, free: 8.027 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1627, allocations: 8 kB / 492.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1627, allocations: 0 / 492.5 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1627, allocations: 4 kB / 492.5 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.163, allocations: 87.83 kB / 492.6 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.163, allocations: 4 kB / 492.6 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.1632, allocations: 24.14 kB / 492.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.677e-05/0.1633, allocations: 16 kB / 492.6 MB, free: 7.887 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002176/0.1635, allocations: 212.2 kB / 492.8 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.158e-05/0.1636, allocations: 63.25 kB / 492.9 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.1637, allocations: 64.41 kB / 493 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1637, allocations: 11.98 kB / 493 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1637, allocations: 0 / 493 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1637, allocations: 0 / 493 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/0.1655, allocations: 1.292 MB / 494.3 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1655, allocations: 4 kB / 494.3 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/0.1656, allocations: 47.92 kB / 494.3 MB, free: 6.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.1656, allocations: 4 kB / 494.3 MB, free: 6.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.1657, allocations: 19.92 kB / 494.4 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1657, allocations: 7.938 kB / 494.4 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.1657, allocations: 7.938 kB / 494.4 MB, free: 6.074 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000945/0.1666, allocations: 0.8047 MB / 495.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.685e-05/0.1667, allocations: 124.4 kB / 495.3 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.1668, allocations: 23.88 kB / 495.3 MB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003498/0.1672, allocations: 15.98 kB / 495.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.1673, allocations: 31.95 kB / 495.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.1673, allocations: 23.98 kB / 495.4 MB, free: 5.004 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005154/0.1678, allocations: 490.8 kB / 495.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1678, allocations: 0 / 495.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.1684, allocations: 83.98 kB / 495.9 MB, free: 4.445 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002918/0.1713, allocations: 1.74 MB / 497.7 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006389/0.172, allocations: 280.4 kB / 498 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.172, allocations: 4.062 kB / 498 MB, free: 2.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003128/0.1723, allocations: 156.7 kB / 498.1 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.1734, allocations: 138.1 kB / 498.3 MB, free: 2.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006303/0.1797, allocations: 4.763 MB / 0.4912 GB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/0.1805, allocations: 0.8593 MB / 0.4921 GB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003428/0.1809, allocations: 84.14 kB / 0.4921 GB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.1811, allocations: 187.4 kB / 0.4923 GB, free: 12.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.1812, allocations: 0 / 0.4923 GB, free: 12.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.2093, allocations: 10.34 MB / 0.5024 GB, free: 1.941 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.2095, allocations: 237 kB / 0.5026 GB, free: 1.684 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.111/2.32, allocations: 3.375 kB / 0.5027 GB, free: 1.684 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67_fmu --startTime=0 --stopTime=4000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)