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.001107/0.001107, 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.001121/0.001121, 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.416/1.416, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2356/0.2356, allocations: 46.11 MB / 343.6 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 76.53 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1378, allocations: 62.45 MB / 479.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003687/0.1415, allocations: 1.911 MB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1435, allocations: 1.037 MB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1436, allocations: 0 / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003025/0.1439, allocations: 67.78 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.1443, allocations: 99.58 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006608/0.145, allocations: 183.6 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003601/0.1453, allocations: 187.4 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.1455, allocations: 33.53 kB / 482.9 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.1457, allocations: 71.69 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1459, allocations: 103.6 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.1459, allocations: 8 kB / 483.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1461, allocations: 35.94 kB / 483.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1462, allocations: 39.88 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.1464, allocations: 71.53 kB / 483.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003254/0.1467, allocations: 183.7 kB / 483.4 MB, free: 1.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1467, allocations: 3.938 kB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1467, allocations: 4 kB / 483.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1467, allocations: 4 kB / 483.4 MB, free: 1.609 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.001203/0.1479, allocations: 0.576 MB / 484 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.148, allocations: 8.875 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.499e-05/0.1481, allocations: 42.67 kB / 484 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.1481, allocations: 16.75 kB / 484.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1484, allocations: 240.9 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1485, allocations: 4.375 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.1485, allocations: 15.94 kB / 484.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/0.149, allocations: 149.5 kB / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1491, allocations: 0 / 484.5 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.1491, allocations: 4 kB / 484.5 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.1491, allocations: 4 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007045/0.1498, allocations: 167.7 kB / 484.6 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009633/0.1508, allocations: 436.5 kB / 485.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/0.1516, allocations: 198.4 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.152, allocations: 88.77 kB / 485.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.279e-05/0.152, allocations: 4 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000609/0.1526, allocations: 171.1 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/0.1526, allocations: 0 / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.003951/0.1566, allocations: 0.8359 MB / 486.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.1567, allocations: 63.28 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.157, allocations: 249 kB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.157, allocations: 37.69 kB / 486.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-05/0.1571, allocations: 124.6 kB / 486.8 MB, free: 13.99 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.1572, allocations: 39.69 kB / 486.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.1573, allocations: 37.7 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1574, allocations: 334.8 kB / 487.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.1582, allocations: 175.8 kB / 487.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006936/0.1589, allocations: 171.7 kB / 487.5 MB, free: 13.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.1602, allocations: 385.8 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1602, allocations: 4 kB / 487.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001519/0.1617, allocations: 472.4 kB / 488.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.174e-05/0.1618, allocations: 63.33 kB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1618, allocations: 3.938 kB / 488.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1618, allocations: 4 kB / 488.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.1622, allocations: 71.84 kB / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1623, allocations: 0 / 488.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.1627, allocations: 67.91 kB / 488.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.1627, allocations: 4 kB / 488.6 MB, free: 12.13 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.0001507/0.1629, allocations: 133.8 kB / 488.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.1629, allocations: 19.81 kB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.1645, allocations: 426.5 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1645, allocations: 7.938 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1645, allocations: 3.984 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1645, allocations: 0 / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.1663, allocations: 0.7246 MB / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1663, allocations: 0 / 489.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.1667, allocations: 71.84 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1667, allocations: 3.984 kB / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.1668, allocations: 0 / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.1668, allocations: 0 / 490 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.1668, allocations: 8 kB / 490 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.1683, allocations: 486.9 kB / 490.5 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.404e-05/0.1683, allocations: 96.84 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.1684, allocations: 8 kB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.1688, allocations: 67.91 kB / 490.6 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.169, allocations: 51.86 kB / 490.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.169, allocations: 4 kB / 490.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001849/0.1692, allocations: 188.5 kB / 490.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1692, allocations: 0 / 490.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003189/0.1695, allocations: 44 kB / 490.9 MB, free: 9.715 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.002646/0.1722, allocations: 1.317 MB / 492.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.1737, allocations: 485.7 kB / 492.7 MB, free: 8.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1738, allocations: 3.938 kB / 492.7 MB, free: 8.016 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.1745, allocations: 187.7 kB / 492.9 MB, free: 7.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1749, allocations: 36.64 kB / 492.9 MB, free: 7.793 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006289/0.1812, allocations: 2.912 MB / 495.8 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.1816, allocations: 0.7283 MB / 496.6 MB, free: 4.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001723/0.1817, allocations: 37.38 kB / 496.6 MB, free: 4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1819, allocations: 51.42 kB / 496.7 MB, free: 3.949 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1819, allocations: 4 kB / 496.7 MB, free: 3.945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01882/0.2007, allocations: 5.173 MB / 0.4901 GB, free: 14.87 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.201, allocations: 230.5 kB / 0.4903 GB, free: 14.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.29, allocations: 0 / 0.4903 GB, free: 14.61 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)