Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 116 kB / 17.33 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.4 MB / 246.4 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2855/0.2855, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 81.19 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1286, allocations: 62.43 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003551/0.1322, allocations: 1.894 MB / 481.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1339, allocations: 1.076 MB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.134, allocations: 3.938 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.1345, allocations: 303.4 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.135, allocations: 235.4 kB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.1352, allocations: 95.78 kB / 483.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003352/0.1355, allocations: 255.3 kB / 483.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.291e-05/0.1356, allocations: 17.66 kB / 483.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001797/0.1358, allocations: 131.5 kB / 483.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.136, allocations: 215.4 kB / 483.8 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.1361, allocations: 4 kB / 483.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1362, allocations: 43.98 kB / 483.8 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.1363, allocations: 135.6 kB / 484 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.1365, allocations: 154.7 kB / 484.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.137, allocations: 371 kB / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.137, allocations: 0 / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.137, allocations: 0 / 484.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.137, allocations: 0 / 484.5 MB, free: 0.5977 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.001043/0.138, allocations: 0.7462 MB / 485.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.1381, allocations: 8.031 kB / 485.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.224e-05/0.1382, allocations: 38.67 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.1383, allocations: 52.28 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.1389, allocations: 451.8 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.1389, allocations: 384 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.1389, allocations: 7.938 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.1392, allocations: 87.34 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.1392, allocations: 7.984 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1392, allocations: 0 / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1392, allocations: 4 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.1394, allocations: 35.91 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004898/0.1399, allocations: 374.4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.1402, allocations: 113.1 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.914e-05/0.1403, allocations: 37.7 kB / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1403, allocations: 0 / 486.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000362/0.1407, allocations: 113 kB / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.1407, allocations: 0 / 486.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005177/0.1412, allocations: 197.4 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1413, allocations: 77.11 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.1425, allocations: 1.058 MB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1425, allocations: 33.7 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.1427, allocations: 232.1 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.1428, allocations: 31.62 kB / 488.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1428, allocations: 41.58 kB / 488.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.143, allocations: 362.8 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.1431, allocations: 27.98 kB / 488.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1432, allocations: 62.53 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.1434, allocations: 95.42 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/0.1434, allocations: 3.938 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002781/0.1437, allocations: 164.9 kB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1438, allocations: 8 kB / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1438, allocations: 0 / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1438, allocations: 0 / 488.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.1439, allocations: 31.98 kB / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1439, allocations: 0 / 488.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.092e-05/0.144, allocations: 11.94 kB / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.144, allocations: 4 kB / 489 MB, free: 11.84 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.0002314/0.1443, allocations: 229.6 kB / 489.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.1444, allocations: 51.34 kB / 489.2 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.491e-05/0.1444, allocations: 60.14 kB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1444, allocations: 0 / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1445, allocations: 4 kB / 489.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.1445, allocations: 7.984 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.1448, allocations: 345.4 kB / 489.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1448, allocations: 0 / 489.6 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.1449, allocations: 8.125 kB / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1449, allocations: 0 / 489.6 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.1449, allocations: 11.98 kB / 489.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1449, allocations: 7.984 kB / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1449, allocations: 0 / 489.7 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.1452, allocations: 205.2 kB / 489.9 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.1454, allocations: 136.4 kB / 490 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.1454, allocations: 8 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.914e-05/0.1455, allocations: 7.984 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1456, allocations: 7.984 kB / 490 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.1456, allocations: 7.984 kB / 490 MB, free: 10.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008338/0.1465, allocations: 0.7839 MB / 490.8 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1465, allocations: 4 kB / 490.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1467, allocations: 44 kB / 490.9 MB, free: 9.836 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.001495/0.1482, allocations: 1.056 MB / 491.9 MB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1485, allocations: 83.91 kB / 492 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1485, allocations: 0 / 492 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.1487, allocations: 47.91 kB / 492 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1491, allocations: 61.23 kB / 492.1 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006107/0.1552, allocations: 4.747 MB / 496.8 MB, free: 3.844 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.1557, allocations: 0.8505 MB / 497.7 MB, free: 2.965 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.1558, allocations: 50.95 kB / 497.7 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.156, allocations: 155.4 kB / 497.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of SimCode: time 2.244e-06/0.1561, allocations: 0 / 497.9 MB, free: 2.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.1787, allocations: 8.796 MB / 0.4948 GB, free: 10.07 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002648/0.179, allocations: 234.6 kB / 0.495 GB, free: 9.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.185, allocations: 4 kB / 0.495 GB, free: 9.816 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)