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.001191/0.001191, allocations: 104.8 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.001105/0.001105, 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.448/1.448, allocations: 227.4 MB / 246.3 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.2244/0.2244, allocations: 46.11 MB / 343.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 76.42 kB / 416.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 62.44 MB / 479.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.004306/0.1416, allocations: 2.073 MB / 481.5 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.1433, allocations: 0.8068 MB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002219/0.1435, allocations: 7.938 kB / 482.3 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.1441, allocations: 163.6 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.1446, allocations: 187.4 kB / 482.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00095/0.1456, allocations: 392.6 kB / 483 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.1459, allocations: 291.2 kB / 483.3 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.1461, allocations: 52.72 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1462, allocations: 111.5 kB / 483.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1465, allocations: 167.3 kB / 483.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1465, allocations: 12 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1466, allocations: 28 kB / 483.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.1468, allocations: 167.5 kB / 483.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.147, allocations: 190.4 kB / 484 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003955/0.1474, allocations: 418.6 kB / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1474, allocations: 0 / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.1474, allocations: 0 / 484.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.1474, allocations: 0 / 484.4 MB, free: 0.6602 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.001326/0.1487, allocations: 0.8706 MB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1488, allocations: 12.88 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.1489, allocations: 38.73 kB / 485.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.149, allocations: 60.19 kB / 485.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000644/0.1496, allocations: 0.5198 MB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1497, allocations: 8.375 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.1497, allocations: 16.28 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.1501, allocations: 163.1 kB / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.1502, allocations: 0 / 486.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1502, allocations: 7.938 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1502, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.1507, allocations: 135.9 kB / 486.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.1519, allocations: 0.754 MB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003901/0.1523, allocations: 141.1 kB / 487.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002404/0.1525, allocations: 73.78 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.548e-05/0.1526, allocations: 8 kB / 487.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.1526, allocations: 30.56 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.1526, allocations: 0 / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002761/0.1554, allocations: 0.8134 MB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.1555, allocations: 85.11 kB / 488.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.1567, allocations: 1.074 MB / 489.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1567, allocations: 29.7 kB / 489.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.157, allocations: 296.2 kB / 489.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.157, allocations: 55.11 kB / 489.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/0.1571, allocations: 33.7 kB / 489.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1573, allocations: 314 kB / 489.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.1577, allocations: 119.9 kB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.1581, allocations: 137.6 kB / 490.2 MB, free: 10.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.1589, allocations: 258.3 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.159, allocations: 3.938 kB / 490.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001013/0.16, allocations: 356.6 kB / 490.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.16, allocations: 6.344 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.16, allocations: 0 / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.16, allocations: 4 kB / 490.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/0.1604, allocations: 68.06 kB / 490.8 MB, free: 9.941 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.1604, allocations: 4 kB / 490.8 MB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.1607, allocations: 51.88 kB / 490.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.1607, allocations: 4 kB / 490.9 MB, free: 9.883 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.0002369/0.161, allocations: 225.7 kB / 491.1 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1611, allocations: 63.16 kB / 491.2 MB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.1622, allocations: 398.9 kB / 491.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1623, allocations: 4 kB / 491.6 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.1623, allocations: 7.938 kB / 491.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1623, allocations: 0 / 491.6 MB, free: 9.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00172/0.164, allocations: 0.9541 MB / 492.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.164, allocations: 4 kB / 492.5 MB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.1643, allocations: 63.88 kB / 492.6 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.1644, allocations: 8 kB / 492.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1644, allocations: 0 / 492.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.1644, allocations: 4 kB / 492.6 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1644, allocations: 3.938 kB / 492.6 MB, free: 8.086 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.1655, allocations: 0.5212 MB / 493.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.1656, allocations: 160.3 kB / 493.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.893e-05/0.1657, allocations: 0 / 493.3 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.166, allocations: 43.94 kB / 493.3 MB, free: 7.328 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.366e-05/0.1661, allocations: 23.91 kB / 493.4 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1661, allocations: 8 kB / 493.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008777/0.167, allocations: 0.7841 MB / 494.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.167, allocations: 0 / 494.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00038/0.1674, allocations: 67.98 kB / 494.2 MB, free: 6.449 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.002467/0.1699, allocations: 1.37 MB / 495.6 MB, free: 5.188 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.171, allocations: 271.7 kB / 495.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.171, allocations: 0 / 495.9 MB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004825/0.1715, allocations: 147.8 kB / 496 MB, free: 4.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.1722, allocations: 82.89 kB / 496.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009453/0.1817, allocations: 6.406 MB / 0.4907 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.1822, allocations: 0.8896 MB / 0.4916 GB, free: 13.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002707/0.1825, allocations: 95.59 kB / 0.4917 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002651/0.1828, allocations: 183.4 kB / 0.4918 GB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1828, allocations: 7.938 kB / 0.4919 GB, free: 13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.2089, allocations: 10.81 MB / 0.5024 GB, free: 2.316 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.2091, allocations: 249.2 kB / 0.5026 GB, free: 2.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/2.301, allocations: 6.734 kB / 0.5027 GB, free: 2.059 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)