Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 108.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001194, allocations: 209.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.35/1.35, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 72.83 kB / 417.1 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1335, allocations: 62.45 MB / 479.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003832/0.1373, allocations: 1.934 MB / 481.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1391, allocations: 0.6937 MB / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002245/0.1393, allocations: 0 / 482.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.1401, allocations: 167.6 kB / 482.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000774/0.1409, allocations: 159.6 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.142, allocations: 302.3 kB / 482.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.1426, allocations: 231.4 kB / 483.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.1429, allocations: 65.58 kB / 483.1 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001909/0.1431, allocations: 95.67 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1433, allocations: 155.5 kB / 483.4 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.1434, allocations: 12 kB / 483.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1435, allocations: 43.98 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1436, allocations: 111.6 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.1438, allocations: 123 kB / 483.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003389/0.1441, allocations: 295.2 kB / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1441, allocations: 0 / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1441, allocations: 0 / 483.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.1441, allocations: 0 / 483.9 MB, free: 1.137 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001136/0.1453, allocations: 0.6806 MB / 484.6 MB, free: 416 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.1453, allocations: 8.031 kB / 484.6 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.283e-05/0.1454, allocations: 42.73 kB / 484.7 MB, free: 356 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.1455, allocations: 36.47 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.1461, allocations: 374.1 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.1462, allocations: 8.375 kB / 485.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.1462, allocations: 8.375 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.1468, allocations: 187 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.1468, allocations: 4 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1469, allocations: 3.938 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1469, allocations: 4 kB / 485.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.1474, allocations: 151.8 kB / 485.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1485, allocations: 0.6605 MB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.1489, allocations: 149.2 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.1491, allocations: 81.78 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1492, allocations: 7.984 kB / 486.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.1492, allocations: 38.5 kB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.1492, allocations: 0 / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002655/0.1518, allocations: 0.7913 MB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.1519, allocations: 77.11 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006526/0.1526, allocations: 0.6034 MB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.1526, allocations: 25.7 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1528, allocations: 208.3 kB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1528, allocations: 59.19 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.095e-05/0.1529, allocations: 33.62 kB / 488.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.153, allocations: 354.8 kB / 488.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004423/0.1535, allocations: 135.9 kB / 488.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004406/0.1539, allocations: 165.5 kB / 488.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008355/0.1548, allocations: 285.5 kB / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1548, allocations: 3.938 kB / 489.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000994/0.1558, allocations: 364.9 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.1558, allocations: 8.188 kB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1558, allocations: 0 / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1559, allocations: 3.938 kB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/0.1562, allocations: 75.86 kB / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1562, allocations: 0 / 489.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/0.1564, allocations: 39.95 kB / 489.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1565, allocations: 4 kB / 489.6 MB, free: 11.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001741/0.1566, allocations: 193.7 kB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-05/0.1567, allocations: 35.53 kB / 489.8 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.1579, allocations: 424.7 kB / 490.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1579, allocations: 0 / 490.2 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.1579, allocations: 4 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1579, allocations: 0 / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1596, allocations: 0.9113 MB / 491.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.1596, allocations: 0.75 kB / 491.1 MB, free: 9.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.1599, allocations: 71.92 kB / 491.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1599, allocations: 0 / 491.2 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1599, allocations: 4 kB / 491.2 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.16, allocations: 3.938 kB / 491.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.16, allocations: 11.94 kB / 491.2 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.161, allocations: 0.5233 MB / 491.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.1612, allocations: 136.6 kB / 491.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.1612, allocations: 0 / 491.9 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.1615, allocations: 35.95 kB / 491.9 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.1616, allocations: 23.91 kB / 491.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.1616, allocations: 8 kB / 491.9 MB, free: 8.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004692/0.1621, allocations: 447.1 kB / 492.4 MB, free: 8.324 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1621, allocations: 0 / 492.4 MB, free: 8.324 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003728/0.1625, allocations: 67.89 kB / 492.4 MB, free: 8.258 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.002246/0.1647, allocations: 1.365 MB / 493.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.1658, allocations: 323.6 kB / 494.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1658, allocations: 0 / 494.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.1663, allocations: 163.8 kB / 494.3 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.1668, allocations: 64.78 kB / 494.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006556/0.1734, allocations: 4.449 MB / 498.8 MB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.1738, allocations: 0.8183 MB / 499.6 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.174, allocations: 74.23 kB / 499.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.1742, allocations: 119.4 kB / 499.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1742, allocations: 0 / 499.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01866/0.1929, allocations: 7.459 MB / 0.4954 GB, free: 9.57 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003163/0.1932, allocations: 267 kB / 0.4956 GB, free: 9.305 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.057/2.251, allocations: 0 / 0.4956 GB, free: 9.305 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)