Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.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.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001363/0.001363, allocations: 104.1 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.001628/0.001628, allocations: 214.4 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.403/1.403, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2391/0.2391, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 78.69 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.141, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.004227/0.1453, allocations: 1.854 MB / 482 MB, free: 3.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1472, allocations: 1.048 MB / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.1474, allocations: 0 / 483 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1477, allocations: 63.66 kB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004372/0.1481, allocations: 111.5 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.1488, allocations: 206.9 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.1492, allocations: 211.4 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1493, allocations: 29.55 kB / 483.6 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.1495, allocations: 79.73 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.1497, allocations: 103.6 kB / 483.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.1498, allocations: 15.94 kB / 483.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.1499, allocations: 47.94 kB / 483.9 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.15, allocations: 39.89 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1501, allocations: 71.53 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.1505, allocations: 191.6 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1505, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1505, allocations: 0 / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1505, allocations: 4 kB / 484.2 MB, free: 1.094 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001243/0.1518, allocations: 0.5798 MB / 484.8 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.1518, allocations: 8.031 kB / 484.8 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.789e-05/0.1519, allocations: 42.73 kB / 484.8 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.557e-05/0.152, allocations: 16.75 kB / 484.8 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.1523, allocations: 237 kB / 485.1 MB, free: 104 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.1523, allocations: 4.375 kB / 485.1 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.1523, allocations: 15.92 kB / 485.1 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005326/0.1529, allocations: 145.5 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1529, allocations: 0 / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.1529, allocations: 0 / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.1529, allocations: 8 kB / 485.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/0.1537, allocations: 167.7 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.1546, allocations: 432.5 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008292/0.1554, allocations: 198.3 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.1558, allocations: 96.75 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.1559, allocations: 12.09 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006331/0.1565, allocations: 167.2 kB / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.1565, allocations: 0 / 486.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003928/0.1605, allocations: 0.8397 MB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.1605, allocations: 55.34 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1608, allocations: 253 kB / 487.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1609, allocations: 33.7 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.161, allocations: 128 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/0.161, allocations: 27.56 kB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.1611, allocations: 41.7 kB / 487.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1612, allocations: 334.8 kB / 488 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007244/0.162, allocations: 175.8 kB / 488.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/0.1627, allocations: 177.3 kB / 488.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.1641, allocations: 379.9 kB / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1641, allocations: 0 / 488.7 MB, free: 12.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001725/0.1658, allocations: 476.2 kB / 489.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.891e-05/0.1659, allocations: 65.7 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.1659, allocations: 3.938 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1659, allocations: 0 / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.1664, allocations: 75.83 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1664, allocations: 4 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.1668, allocations: 67.91 kB / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.1669, allocations: 0 / 489.4 MB, free: 11.62 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001604/0.167, allocations: 142.3 kB / 489.5 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.1671, allocations: 15.81 kB / 489.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.1686, allocations: 422.2 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1687, allocations: 3.938 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1687, allocations: 0 / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1687, allocations: 4 kB / 489.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.1705, allocations: 0.7323 MB / 490.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.1706, allocations: 4 kB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.171, allocations: 67.84 kB / 490.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.171, allocations: 4 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.171, allocations: 3.984 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.171, allocations: 0 / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.171, allocations: 4 kB / 490.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.1726, allocations: 486.8 kB / 491.2 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.1727, allocations: 100.8 kB / 491.3 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.055e-05/0.1728, allocations: 4 kB / 491.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000438/0.1732, allocations: 63.91 kB / 491.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/0.1734, allocations: 47.94 kB / 491.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.289e-05/0.1734, allocations: 8 kB / 491.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001987/0.1736, allocations: 188.5 kB / 491.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1736, allocations: 0 / 491.6 MB, free: 9.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003451/0.174, allocations: 48 kB / 491.7 MB, free: 9.199 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002873/0.1769, allocations: 1.32 MB / 493 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.1786, allocations: 487.8 kB / 493.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1786, allocations: 3.938 kB / 493.5 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007669/0.1794, allocations: 191.8 kB / 493.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/0.1798, allocations: 42.2 kB / 493.7 MB, free: 7.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006562/0.1864, allocations: 2.878 MB / 496.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.1867, allocations: 0.7319 MB / 497.3 MB, free: 3.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.1869, allocations: 37.39 kB / 497.4 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.1871, allocations: 55.36 kB / 497.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1871, allocations: 8 kB / 497.4 MB, free: 3.441 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.2103, allocations: 5.729 MB / 0.4914 GB, free: 13.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.588, allocations: 16.94 kB / 0.4914 GB, free: 13.76 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)