Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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.0008489/0.0008488, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009918/0.0009919, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 246.8 MB, free: 9.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1979/0.1979, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002775/0.0002777, allocations: 11.98 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 63.56 MB / 483.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.002852/0.1366, allocations: 1.711 MB / 484.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1383, allocations: 0.799 MB / 485.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1385, allocations: 4 kB / 485.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.139, allocations: 167.6 kB / 485.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004567/0.1395, allocations: 187.4 kB / 486 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.1405, allocations: 389.8 kB / 486.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.1408, allocations: 283.2 kB / 486.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.141, allocations: 56.69 kB / 486.7 MB, free: 472 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1411, allocations: 103.4 kB / 486.9 MB, free: 368 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1413, allocations: 159.3 kB / 487 MB, free: 208 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.1413, allocations: 4 kB / 487 MB, free: 204 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.792e-05/0.1414, allocations: 31.98 kB / 487 MB, free: 172 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1416, allocations: 163.4 kB / 487.2 MB, free: 8 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.1418, allocations: 208.1 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.1422, allocations: 418.6 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1422, allocations: 0 / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1422, allocations: 0 / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1422, allocations: 0 / 487.8 MB, free: 15.39 MB / 366.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.00119/0.1434, allocations: 0.801 MB / 488.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.1435, allocations: 8.875 kB / 488.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/0.1436, allocations: 46.73 kB / 488.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.57e-05/0.1437, allocations: 64.09 kB / 488.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006954/0.1444, allocations: 0.5159 MB / 489.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1444, allocations: 8.375 kB / 489.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.1445, allocations: 12.36 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.1449, allocations: 179.1 kB / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.1449, allocations: 0 / 489.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.145, allocations: 4 kB / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.145, allocations: 0 / 489.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005135/0.1455, allocations: 175.8 kB / 489.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1466, allocations: 0.758 MB / 490.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.147, allocations: 153.2 kB / 490.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.1473, allocations: 93.72 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.1473, allocations: 4 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1473, allocations: 34.56 kB / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1473, allocations: 0 / 490.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002867/0.1502, allocations: 0.9625 MB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.1503, allocations: 77.2 kB / 491.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.1515, allocations: 1.082 MB / 492.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1516, allocations: 29.7 kB / 492.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.1518, allocations: 288.3 kB / 493.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.1519, allocations: 63.09 kB / 493.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.152, allocations: 25.64 kB / 493.2 MB, free: 9.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1521, allocations: 314 kB / 493.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/0.1526, allocations: 151.9 kB / 493.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.153, allocations: 172.1 kB / 493.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.1539, allocations: 321.5 kB / 494.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.154, allocations: 3.938 kB / 494.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001088/0.1551, allocations: 420.6 kB / 494.5 MB, free: 8.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1551, allocations: 8 kB / 494.5 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1551, allocations: 4 kB / 494.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1551, allocations: 0 / 494.5 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/0.1555, allocations: 87.92 kB / 494.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1555, allocations: 0 / 494.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.1558, allocations: 55.95 kB / 494.7 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.1558, allocations: 4 kB / 494.7 MB, free: 8.242 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.0002484/0.156, allocations: 233.6 kB / 494.9 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1562, allocations: 59.25 kB / 495 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001193/0.1574, allocations: 471 kB / 495.4 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1574, allocations: 96 / 495.4 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1574, allocations: 7.875 kB / 495.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1574, allocations: 8 kB / 495.4 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.1591, allocations: 1.013 MB / 496.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.1591, allocations: 7.984 kB / 496.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.1594, allocations: 87.86 kB / 496.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1594, allocations: 0 / 496.5 MB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1594, allocations: 4 kB / 496.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1594, allocations: 0 / 496.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1594, allocations: 3.938 kB / 496.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1605, allocations: 0.5836 MB / 497.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.1606, allocations: 164.3 kB / 497.3 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/0.1607, allocations: 12 kB / 497.3 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.161, allocations: 55.94 kB / 497.4 MB, free: 5.441 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.1611, allocations: 23.84 kB / 497.4 MB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.1611, allocations: 12 kB / 497.4 MB, free: 5.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007684/0.1619, allocations: 0.788 MB / 498.2 MB, free: 4.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1619, allocations: 0 / 498.2 MB, free: 4.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000337/0.1622, allocations: 59.98 kB / 498.2 MB, free: 4.562 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.002067/0.1643, allocations: 1.429 MB / 499.7 MB, free: 3.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000975/0.1653, allocations: 339.7 kB / 0.4883 GB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1653, allocations: 4 kB / 0.4883 GB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004784/0.1658, allocations: 179.9 kB / 0.4885 GB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.1664, allocations: 78.89 kB / 0.4885 GB, free: 2.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.1749, allocations: 6.572 MB / 0.495 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1754, allocations: 0.8935 MB / 0.4958 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001949/0.1756, allocations: 87.3 kB / 0.4959 GB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/0.1759, allocations: 187.4 kB / 0.4961 GB, free: 10.79 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1759, allocations: 0 / 0.4961 GB, free: 10.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.196, allocations: 10.49 MB / 0.5063 GB, free: 468 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.1963, allocations: 262.2 kB / 0.5066 GB, free: 200 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.95/2.147, allocations: 0 / 0.5066 GB, free: 200 kB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D_fmu --startTime=-1 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_OneSidedDerivative2D.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)