Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001367/0.001367, allocations: 108 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001641/0.001641, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2284/0.2284, allocations: 46.11 MB / 343.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 82.69 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1175, allocations: 62.44 MB / 479.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003621/0.1211, allocations: 1.886 MB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.1231, allocations: 1.095 MB / 482.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1233, allocations: 3.938 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.1238, allocations: 287.4 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004498/0.1243, allocations: 235.4 kB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1245, allocations: 91.78 kB / 483 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1249, allocations: 239.3 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.548e-05/0.125, allocations: 25.66 kB / 483.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.1252, allocations: 111.6 kB / 483.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.1254, allocations: 191.9 kB / 483.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1255, allocations: 4 kB / 483.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1256, allocations: 39.98 kB / 483.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.1257, allocations: 136.5 kB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1259, allocations: 146.8 kB / 483.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.1263, allocations: 355 kB / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1263, allocations: 0 / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1263, allocations: 0 / 484.2 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.1263, allocations: 3.938 kB / 484.2 MB, free: 0.7695 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001103/0.1274, allocations: 0.727 MB / 484.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.1275, allocations: 8.875 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.247e-05/0.1276, allocations: 38.62 kB / 485 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.1277, allocations: 56.28 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006411/0.1284, allocations: 451.8 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1284, allocations: 384 / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.1284, allocations: 7.938 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.1286, allocations: 91.3 kB / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.1287, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1287, allocations: 0 / 485.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1287, allocations: 11.92 kB / 485.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.1288, allocations: 31.97 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.1293, allocations: 374.3 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.1296, allocations: 113.1 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.1297, allocations: 37.7 kB / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.1297, allocations: 0 / 486.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003038/0.13, allocations: 109 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.13, allocations: 0 / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005221/0.1305, allocations: 200.9 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1306, allocations: 81.11 kB / 486.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.1317, allocations: 1.026 MB / 487.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1318, allocations: 25.7 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.1319, allocations: 240.1 kB / 487.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.602e-05/0.132, allocations: 23.66 kB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.1321, allocations: 29.7 kB / 487.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1322, allocations: 370.8 kB / 488.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.002e-05/0.1323, allocations: 23.98 kB / 488.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.906e-05/0.1324, allocations: 55.41 kB / 488.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1326, allocations: 91.36 kB / 488.4 MB, free: 12.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1327, allocations: 4.438 kB / 488.4 MB, free: 12.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003281/0.133, allocations: 168.9 kB / 488.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.133, allocations: 8 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.133, allocations: 4.062 kB / 488.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.1331, allocations: 7.938 kB / 488.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.1332, allocations: 23.98 kB / 488.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1332, allocations: 0 / 488.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1333, allocations: 7.906 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1333, allocations: 4 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002478/0.1336, allocations: 230.5 kB / 488.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.282e-05/0.1337, allocations: 47.44 kB / 488.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.1338, allocations: 56.09 kB / 488.9 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.1338, allocations: 8 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1338, allocations: 0 / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1338, allocations: 3.938 kB / 488.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.1342, allocations: 353.2 kB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1342, allocations: 0 / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.1342, allocations: 4 kB / 489.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1343, allocations: 4 kB / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1343, allocations: 11.92 kB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1343, allocations: 0 / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1343, allocations: 4 kB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1347, allocations: 201.2 kB / 489.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1348, allocations: 136.5 kB / 489.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.673e-05/0.1349, allocations: 4 kB / 489.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.737e-05/0.135, allocations: 7.984 kB / 489.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.135, allocations: 7.984 kB / 489.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1351, allocations: 4 kB / 489.7 MB, free: 10.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008746/0.1359, allocations: 0.7682 MB / 490.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.136, allocations: 0 / 490.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.1362, allocations: 47.98 kB / 490.5 MB, free: 10.1 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001579/0.1378, allocations: 1.047 MB / 491.5 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1381, allocations: 79.89 kB / 491.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1381, allocations: 0 / 491.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.1382, allocations: 39.98 kB / 491.6 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.1387, allocations: 66.69 kB / 491.7 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00618/0.1449, allocations: 4.648 MB / 496.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/0.1454, allocations: 0.8546 MB / 497.2 MB, free: 3.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.1455, allocations: 46.97 kB / 497.3 MB, free: 3.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.1457, allocations: 151.4 kB / 497.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1457, allocations: 0 / 497.4 MB, free: 3.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1674, allocations: 8.488 MB / 0.494 GB, free: 10.76 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1676, allocations: 237 kB / 0.4943 GB, free: 10.5 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.202, allocations: 0 / 0.4943 GB, free: 10.5 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)