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.001741/0.001741, allocations: 103.7 kB / 17.63 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 208.6 kB / 18.58 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2307/0.2307, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 77.16 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1331, allocations: 62.43 MB / 480.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003987/0.1371, allocations: 2.022 MB / 482.1 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1387, allocations: 0.8028 MB / 482.9 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1388, allocations: 7.938 kB / 483 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004286/0.1393, allocations: 183.4 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.1399, allocations: 207.1 kB / 483.3 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.1409, allocations: 425 kB / 483.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004078/0.1413, allocations: 287.2 kB / 484 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.1415, allocations: 60.72 kB / 484.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1417, allocations: 123.5 kB / 484.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.1419, allocations: 167.3 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.1419, allocations: 16 kB / 484.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.1421, allocations: 43.98 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.1422, allocations: 171.5 kB / 484.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.1424, allocations: 190.4 kB / 484.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.1429, allocations: 430.6 kB / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1429, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1429, allocations: 0 / 485.2 MB, free: 104 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.813e-05/0.1429, allocations: 0 / 485.2 MB, free: 104 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001312/0.1443, allocations: 0.8667 MB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1443, allocations: 16.03 kB / 486.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.306e-05/0.1444, allocations: 42.73 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1445, allocations: 60.19 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008619/0.1454, allocations: 0.5121 MB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1454, allocations: 8.375 kB / 486.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.095e-05/0.1455, allocations: 16.22 kB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.1459, allocations: 159.1 kB / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.146, allocations: 0 / 486.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.146, allocations: 8 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.146, allocations: 0 / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.1465, allocations: 135.9 kB / 487 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.1476, allocations: 0.754 MB / 487.8 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.148, allocations: 137.2 kB / 487.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/0.1483, allocations: 73.78 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.1483, allocations: 7.984 kB / 488 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1484, allocations: 38.5 kB / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.1484, allocations: 0 / 488 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002765/0.1511, allocations: 0.8134 MB / 488.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1512, allocations: 81.11 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.1525, allocations: 1.071 MB / 490 MB, free: 11.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.1525, allocations: 29.7 kB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002412/0.1528, allocations: 296.3 kB / 490.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.1529, allocations: 75.02 kB / 490.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.153, allocations: 25.72 kB / 490.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1531, allocations: 318 kB / 490.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.1535, allocations: 116.6 kB / 490.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.154, allocations: 144 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/0.1549, allocations: 249.5 kB / 491.2 MB, free: 9.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.1549, allocations: 3.938 kB / 491.2 MB, free: 9.816 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001078/0.156, allocations: 348.6 kB / 491.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.156, allocations: 4 kB / 491.6 MB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.156, allocations: 8 kB / 491.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.529e-05/0.156, allocations: 4 kB / 491.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.1564, allocations: 67.88 kB / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1564, allocations: 0 / 491.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.1567, allocations: 43.94 kB / 491.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1568, allocations: 8 kB / 491.7 MB, free: 9.336 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.0002798/0.157, allocations: 229.6 kB / 491.9 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.1572, allocations: 63.38 kB / 492 MB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/0.1583, allocations: 398.8 kB / 492.4 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.1584, allocations: 4 kB / 492.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1584, allocations: 0 / 492.4 MB, free: 8.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1584, allocations: 4.172 kB / 492.4 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.1601, allocations: 0.9657 MB / 493.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1601, allocations: 0 / 493.3 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1604, allocations: 63.94 kB / 493.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.1604, allocations: 0 / 493.4 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1605, allocations: 3.984 kB / 493.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.1605, allocations: 7.938 kB / 493.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1605, allocations: 7.938 kB / 493.4 MB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.1616, allocations: 0.5095 MB / 493.9 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.1618, allocations: 164.3 kB / 494.1 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.1619, allocations: 3.984 kB / 494.1 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.1622, allocations: 35.95 kB / 494.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.1623, allocations: 31.91 kB / 494.2 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1623, allocations: 8 kB / 494.2 MB, free: 6.742 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008728/0.1632, allocations: 0.788 MB / 495 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1632, allocations: 0 / 495 MB, free: 5.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003768/0.1636, allocations: 63.98 kB / 495 MB, free: 5.895 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.002505/0.1661, allocations: 1.368 MB / 496.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1671, allocations: 281.8 kB / 496.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1672, allocations: 0 / 496.7 MB, free: 4.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004844/0.1676, allocations: 144.2 kB / 496.8 MB, free: 4.223 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000751/0.1684, allocations: 108.1 kB / 496.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.1778, allocations: 6.297 MB / 0.4914 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/0.1783, allocations: 0.8932 MB / 0.4923 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.1786, allocations: 91.3 kB / 0.4924 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.1789, allocations: 187.4 kB / 0.4926 GB, free: 12.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1789, allocations: 0 / 0.4926 GB, free: 12.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03084/0.2097, allocations: 11.31 MB / 0.5036 GB, free: 1.324 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/7.694, allocations: 5.062 kB / 0.5036 GB, free: 1.32 MB / 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)