Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001385/0.001385, 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.001825/0.001825, 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.414/1.414, allocations: 227.4 MB / 246.3 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.2301/0.2301, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 78.34 kB / 417 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 62.44 MB / 479.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003142/0.144, allocations: 1.882 MB / 481.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1457, allocations: 1.092 MB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.01e-05/0.1458, allocations: 7.938 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004812/0.1463, allocations: 295.4 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1467, allocations: 235.4 kB / 482.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.1469, allocations: 95.78 kB / 483 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1472, allocations: 247.4 kB / 483.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.869e-05/0.1473, allocations: 13.67 kB / 483.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1474, allocations: 123.5 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.1476, allocations: 199.4 kB / 483.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.1477, allocations: 4 kB / 483.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1478, allocations: 43.98 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.148, allocations: 135.6 kB / 483.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001364/0.1481, allocations: 150.7 kB / 483.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1485, allocations: 359 kB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1485, allocations: 4 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.1485, allocations: 0 / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1485, allocations: 0 / 484.2 MB, free: 0.7852 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.0009182/0.1494, allocations: 0.7424 MB / 485 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.1495, allocations: 12.88 kB / 485 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.1495, allocations: 34.69 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.672e-05/0.1496, allocations: 56.28 kB / 485.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.1502, allocations: 447.8 kB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1502, allocations: 8.375 kB / 485.5 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/0.1502, allocations: 7.938 kB / 485.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.1504, allocations: 83.36 kB / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1504, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.1505, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1505, allocations: 0 / 485.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1506, allocations: 35.91 kB / 485.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.151, allocations: 382.4 kB / 486 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.1513, allocations: 113.1 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.514e-05/0.1514, allocations: 41.7 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.1514, allocations: 4 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.1517, allocations: 109 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.1517, allocations: 0 / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004717/0.1521, allocations: 196.9 kB / 486.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.1522, allocations: 85.11 kB / 486.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.1532, allocations: 1.058 MB / 487.6 MB, free: 13.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1533, allocations: 25.7 kB / 487.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1534, allocations: 240.1 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.1535, allocations: 27.61 kB / 487.9 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.1535, allocations: 29.72 kB / 487.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1537, allocations: 370.7 kB / 488.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.45e-05/0.1538, allocations: 27.98 kB / 488.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-05/0.1539, allocations: 67.34 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002017/0.1541, allocations: 83.36 kB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1541, allocations: 4.438 kB / 488.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002888/0.1544, allocations: 176.9 kB / 488.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1544, allocations: 4 kB / 488.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1544, allocations: 4 kB / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.1545, allocations: 0 / 488.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1546, allocations: 23.92 kB / 488.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1546, allocations: 4 kB / 488.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.1547, allocations: 11.94 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1547, allocations: 4 kB / 488.7 MB, free: 12.03 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.0002221/0.1549, allocations: 234.6 kB / 488.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.155, allocations: 51.34 kB / 489 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.301e-05/0.1551, allocations: 60.14 kB / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1551, allocations: 0 / 489 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1551, allocations: 3.984 kB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.1551, allocations: 0 / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.1555, allocations: 353.4 kB / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1555, allocations: 0 / 489.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.1555, allocations: 4 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1555, allocations: 4 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.1555, allocations: 3.984 kB / 489.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1556, allocations: 4 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1556, allocations: 4 kB / 489.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1559, allocations: 197.2 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.156, allocations: 140.4 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.1561, allocations: 8 kB / 489.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.1562, allocations: 3.984 kB / 489.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.1562, allocations: 8 kB / 489.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.1562, allocations: 15.98 kB / 489.8 MB, free: 10.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007847/0.157, allocations: 0.78 MB / 490.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.157, allocations: 0 / 490.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1573, allocations: 40 kB / 490.6 MB, free: 10.04 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.00148/0.1588, allocations: 1.065 MB / 491.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002498/0.1591, allocations: 75.91 kB / 491.7 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1591, allocations: 4 kB / 491.7 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1592, allocations: 35.98 kB / 491.8 MB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.1596, allocations: 66.45 kB / 491.8 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005632/0.1653, allocations: 4.756 MB / 496.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.1657, allocations: 0.8468 MB / 497.4 MB, free: 3.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.1659, allocations: 54.91 kB / 497.5 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.1661, allocations: 147.4 kB / 497.6 MB, free: 2.965 MB / 366.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1661, allocations: 8 kB / 497.6 MB, free: 2.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.1884, allocations: 8.651 MB / 0.4944 GB, free: 10.4 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/0.1886, allocations: 229 kB / 0.4946 GB, free: 10.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.119, allocations: 0 / 0.4946 GB, free: 10.15 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)