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.001437/0.001437, allocations: 105.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001949/0.001949, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3055/0.3055, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 80 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1447, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003857/0.1486, allocations: 1.829 MB / 482 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002074/0.1508, allocations: 1.095 MB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001604/0.1509, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005692/0.1515, allocations: 315.2 kB / 483.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000622/0.1522, allocations: 255.2 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.1525, allocations: 107.6 kB / 483.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000414/0.153, allocations: 259.3 kB / 484 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.828e-05/0.153, allocations: 13.67 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1533, allocations: 131.5 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.1536, allocations: 199.5 kB / 484.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.49e-05/0.1536, allocations: 8 kB / 484.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1538, allocations: 43.97 kB / 484.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001596/0.154, allocations: 131.6 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.1541, allocations: 150.8 kB / 484.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.1546, allocations: 374.9 kB / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1546, allocations: 0 / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1546, allocations: 0 / 485 MB, free: 308 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.1546, allocations: 0 / 485 MB, free: 308 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.001169/0.1558, allocations: 0.7501 MB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.1559, allocations: 8.031 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.1559, allocations: 34.75 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.1561, allocations: 48.28 kB / 485.8 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.1567, allocations: 455.8 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.1567, allocations: 4.375 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1568, allocations: 3.938 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.157, allocations: 91.3 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.157, allocations: 4 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.157, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.1571, allocations: 0 / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.1572, allocations: 39.89 kB / 486.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.1576, allocations: 374.4 kB / 486.8 MB, free: 14.35 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1579, allocations: 109.2 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/0.158, allocations: 41.64 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.158, allocations: 7.984 kB / 487 MB, free: 14.17 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.1583, allocations: 101.1 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.634e-06/0.1583, allocations: 0 / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005104/0.1588, allocations: 200.9 kB / 487.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1589, allocations: 77.11 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.16, allocations: 1.058 MB / 488.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.16, allocations: 29.7 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1602, allocations: 236.1 kB / 488.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.05e-05/0.1603, allocations: 39.59 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.1603, allocations: 29.66 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.1605, allocations: 366.8 kB / 489.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.284e-05/0.1606, allocations: 36.41 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.358e-05/0.1607, allocations: 51.42 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.1609, allocations: 99.34 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1609, allocations: 3.938 kB / 489.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003103/0.1612, allocations: 165 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1613, allocations: 6.656 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1613, allocations: 0 / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1613, allocations: 4 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1614, allocations: 27.98 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1614, allocations: 4 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1615, allocations: 11.94 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1616, allocations: 7.984 kB / 489.5 MB, free: 11.54 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.0002095/0.1618, allocations: 221.7 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.1618, allocations: 51.34 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.1619, allocations: 60.12 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1619, allocations: 4 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.1619, allocations: 0 / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.162, allocations: 7.938 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.1623, allocations: 341.4 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.1623, allocations: 4 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.1623, allocations: 7.938 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1623, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.1624, allocations: 16.11 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1624, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1624, allocations: 0 / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.1627, allocations: 205.2 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1628, allocations: 140.4 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.1629, allocations: 4 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.317e-05/0.163, allocations: 7.984 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.163, allocations: 7.984 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.163, allocations: 4 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007697/0.1638, allocations: 0.7878 MB / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1638, allocations: 4 kB / 491.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1641, allocations: 44 kB / 491.4 MB, free: 9.543 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.001427/0.1655, allocations: 1.053 MB / 492.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002618/0.1658, allocations: 87.84 kB / 492.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1658, allocations: 0 / 492.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.1659, allocations: 39.97 kB / 492.5 MB, free: 8.473 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1663, allocations: 67.02 kB / 492.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.1719, allocations: 4.689 MB / 497.3 MB, free: 3.613 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/0.1723, allocations: 0.8505 MB / 498.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001473/0.1725, allocations: 54.94 kB / 498.2 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.1727, allocations: 151.4 kB / 498.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1727, allocations: 0 / 498.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.2018, allocations: 8.905 MB / 0.4954 GB, free: 9.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.457, allocations: 14.28 kB / 0.4954 GB, free: 9.684 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)