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.001188/0.001188, allocations: 102.4 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00139/0.00139, allocations: 189.7 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2094/0.2094, allocations: 45.92 MB / 344.1 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.0002471, allocations: 12 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 63.47 MB / 481.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002138/0.1355, allocations: 1.533 MB / 483.2 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1367, allocations: 0.6668 MB / 483.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.589e-05/0.1367, allocations: 0 / 483.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003815/0.1371, allocations: 159.6 kB / 484 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.1375, allocations: 155.5 kB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.1382, allocations: 290.3 kB / 484.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.1384, allocations: 195.5 kB / 484.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.1386, allocations: 57.75 kB / 484.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1387, allocations: 75.69 kB / 484.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1389, allocations: 119.6 kB / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1389, allocations: 4 kB / 484.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-05/0.139, allocations: 39.97 kB / 484.9 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1391, allocations: 99.67 kB / 485 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.1392, allocations: 61.52 kB / 485.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1395, allocations: 227.9 kB / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1395, allocations: 0 / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1395, allocations: 0 / 485.3 MB, free: 1.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1395, allocations: 0 / 485.3 MB, free: 1.566 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.0008944/0.1404, allocations: 0.6303 MB / 485.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1404, allocations: 12.03 kB / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.1405, allocations: 46.55 kB / 486 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.1406, allocations: 43.38 kB / 486 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.141, allocations: 353.2 kB / 486.4 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.141, allocations: 11.98 kB / 486.4 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.141, allocations: 8 kB / 486.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.1415, allocations: 187.1 kB / 486.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.1415, allocations: 0 / 486.6 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1415, allocations: 4 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1415, allocations: 8 kB / 486.6 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.142, allocations: 187.8 kB / 486.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000991/0.143, allocations: 0.6722 MB / 487.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.1434, allocations: 169.1 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1437, allocations: 97.73 kB / 487.7 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.1437, allocations: 8 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.1437, allocations: 34.55 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.052e-05/0.1437, allocations: 0 / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002541/0.1463, allocations: 0.9322 MB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.1464, allocations: 89.05 kB / 488.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.147, allocations: 0.5956 MB / 489.4 MB, free: 13.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.147, allocations: 29.7 kB / 489.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.1472, allocations: 208.3 kB / 489.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.1473, allocations: 59.11 kB / 489.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.1473, allocations: 0 / 489.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1474, allocations: 358.7 kB / 490 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004327/0.1479, allocations: 171.9 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.1483, allocations: 185.6 kB / 490.3 MB, free: 12.26 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.1488, allocations: 179.8 kB / 490.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1488, allocations: 0 / 490.5 MB, free: 12.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000996/0.1498, allocations: 428.9 kB / 490.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1498, allocations: 8 kB / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1498, allocations: 0 / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.1498, allocations: 0 / 491 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.1502, allocations: 79.94 kB / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1502, allocations: 0 / 491 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.1504, allocations: 59.94 kB / 491.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.743e-05/0.1504, allocations: 4.938 kB / 491.1 MB, free: 11.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001925/0.1506, allocations: 189.7 kB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.206e-05/0.1507, allocations: 47.38 kB / 491.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.1519, allocations: 484.8 kB / 491.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.1519, allocations: 0 / 491.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1519, allocations: 0 / 491.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1519, allocations: 7.984 kB / 491.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.1536, allocations: 0.9815 MB / 492.8 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1536, allocations: 4 kB / 492.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.1539, allocations: 83.88 kB / 492.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.154, allocations: 0 / 492.9 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.154, allocations: 8 kB / 492.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.154, allocations: 0 / 492.9 MB, free: 9.645 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.154, allocations: 7.922 kB / 492.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.1551, allocations: 0.5976 MB / 493.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1552, allocations: 124.6 kB / 493.6 MB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.1552, allocations: 4 kB / 493.6 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/0.1555, allocations: 63.88 kB / 493.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.1556, allocations: 15.97 kB / 493.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.1556, allocations: 8 kB / 493.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.1561, allocations: 447 kB / 494.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1561, allocations: 0 / 494.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003715/0.1565, allocations: 55.95 kB / 494.2 MB, free: 8.301 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002202/0.1587, allocations: 1.432 MB / 495.6 MB, free: 6.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009822/0.1597, allocations: 378.5 kB / 496 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1597, allocations: 0 / 496 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004652/0.1602, allocations: 195.8 kB / 496.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.1607, allocations: 49.02 kB / 496.2 MB, free: 6.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004727/0.1655, allocations: 2.713 MB / 498.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.166, allocations: 0.8148 MB / 499.8 MB, free: 2.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.1662, allocations: 78.53 kB / 499.8 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.1664, allocations: 115.4 kB / 499.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1664, allocations: 0 / 499.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1876, allocations: 6.948 MB / 0.495 GB, free: 11.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/0.188, allocations: 236.6 kB / 0.4952 GB, free: 11.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.986/2.174, allocations: 0 / 0.4952 GB, free: 11.53 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/linux/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)