Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, 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.001095/0.001095, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2277/0.2277, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 78.09 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1216, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003705/0.1254, allocations: 1.822 MB / 482 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1275, allocations: 1.099 MB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1277, allocations: 4 kB / 483.1 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000616/0.1284, allocations: 299.3 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.129, allocations: 255.2 kB / 483.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1294, allocations: 103.6 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004409/0.1298, allocations: 251.4 kB / 484 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.1299, allocations: 13.67 kB / 484 MB, free: 1.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1302, allocations: 135.5 kB / 484.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1305, allocations: 188 kB / 484.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.1305, allocations: 8 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.1307, allocations: 47.92 kB / 484.3 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.1309, allocations: 140.5 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1311, allocations: 142.8 kB / 484.6 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1315, allocations: 363 kB / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1315, allocations: 0 / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1315, allocations: 0 / 485 MB, free: 356 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.1315, allocations: 0 / 485 MB, free: 356 kB / 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.001056/0.1326, allocations: 0.7307 MB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1326, allocations: 8.031 kB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.1327, allocations: 42.73 kB / 485.7 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1328, allocations: 52.22 kB / 485.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006331/0.1334, allocations: 443.8 kB / 486.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1335, allocations: 12.36 kB / 486.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1335, allocations: 7.938 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002259/0.1337, allocations: 87.31 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1337, allocations: 0 / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1338, allocations: 7.984 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.1338, allocations: 3.984 kB / 486.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.1339, allocations: 23.98 kB / 486.4 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.1344, allocations: 374.4 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.1347, allocations: 109.1 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.1349, allocations: 45.7 kB / 486.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.1349, allocations: 3.984 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000304/0.1352, allocations: 109 kB / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.1352, allocations: 0 / 487 MB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005518/0.1358, allocations: 192.9 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/0.1359, allocations: 89.05 kB / 487.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.137, allocations: 1.022 MB / 488.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.137, allocations: 29.7 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.1372, allocations: 232.1 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.211e-05/0.1373, allocations: 31.62 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.184e-05/0.1373, allocations: 29.72 kB / 488.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1375, allocations: 370.8 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.1376, allocations: 31.98 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.1377, allocations: 66.84 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1379, allocations: 75.42 kB / 489.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1379, allocations: 7.875 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003325/0.1383, allocations: 177.6 kB / 489.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1383, allocations: 4 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1383, allocations: 4 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.1383, allocations: 4 kB / 489.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1384, allocations: 19.98 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1385, allocations: 7.938 kB / 489.4 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1386, allocations: 7.906 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1386, allocations: 8 kB / 489.4 MB, free: 11.64 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.0002463/0.1388, allocations: 221.8 kB / 489.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.496e-05/0.1389, allocations: 51.38 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.787e-05/0.139, allocations: 60.09 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.139, allocations: 4 kB / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1391, allocations: 0 / 489.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.1391, allocations: 3.984 kB / 489.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.1395, allocations: 345.2 kB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.1395, allocations: 0 / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.1396, allocations: 11.98 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.1396, allocations: 4 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1396, allocations: 4 kB / 490.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1396, allocations: 3.938 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1396, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.14, allocations: 205.2 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1402, allocations: 128.5 kB / 490.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.1402, allocations: 11.98 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.1403, allocations: 4 kB / 490.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.545e-05/0.1404, allocations: 15.92 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.1404, allocations: 8 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000912/0.1413, allocations: 0.7643 MB / 491.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1414, allocations: 0 / 491.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003055/0.1417, allocations: 40 kB / 491.2 MB, free: 9.676 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.001643/0.1433, allocations: 1.048 MB / 492.3 MB, free: 8.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.1436, allocations: 83.84 kB / 492.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1436, allocations: 0 / 492.4 MB, free: 8.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.1438, allocations: 39.92 kB / 492.4 MB, free: 8.617 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004478/0.1442, allocations: 74.88 kB / 492.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005855/0.1501, allocations: 4.593 MB / 497.1 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.1506, allocations: 0.8427 MB / 497.9 MB, free: 2.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.1507, allocations: 50.95 kB / 498 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.1509, allocations: 143.4 kB / 498.1 MB, free: 2.785 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1509, allocations: 4 kB / 498.1 MB, free: 2.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.1817, allocations: 8.754 MB / 0.495 GB, free: 10.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.397/7.579, allocations: 14.52 kB / 0.495 GB, free: 10.09 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)