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.001658/0.001658, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002708/0.002708, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 227.4 MB / 246.3 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.12 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 73.56 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1412, allocations: 62.46 MB / 479.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004524/0.1458, allocations: 1.93 MB / 481.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1474, allocations: 0.7054 MB / 482 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1476, allocations: 4 kB / 482 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005981/0.1482, allocations: 167.6 kB / 482.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.1487, allocations: 151.6 kB / 482.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008224/0.1496, allocations: 306.3 kB / 482.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.15, allocations: 227.4 kB / 482.9 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.1502, allocations: 61.64 kB / 482.9 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.1504, allocations: 87.67 kB / 483 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1506, allocations: 143.5 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.1507, allocations: 8 kB / 483.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1508, allocations: 35.97 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001539/0.151, allocations: 111.7 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1511, allocations: 119 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.1515, allocations: 287.2 kB / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1515, allocations: 0 / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1515, allocations: 0 / 483.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1515, allocations: 0 / 483.7 MB, free: 1.32 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.001157/0.1527, allocations: 0.6807 MB / 484.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.1528, allocations: 8.875 kB / 484.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.1528, allocations: 42.73 kB / 484.4 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.543e-05/0.1529, allocations: 36.47 kB / 484.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.1534, allocations: 374.1 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.1535, allocations: 8.375 kB / 484.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.1535, allocations: 16.31 kB / 484.9 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.154, allocations: 179.1 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.1541, allocations: 3.984 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.1541, allocations: 0 / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.1541, allocations: 4 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005167/0.1546, allocations: 151.8 kB / 485.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1558, allocations: 0.6565 MB / 485.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.1562, allocations: 141.2 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002594/0.1565, allocations: 89.77 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.1565, allocations: 4 kB / 486.1 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1566, allocations: 34.5 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/0.1566, allocations: 0 / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002719/0.1593, allocations: 0.792 MB / 486.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.1594, allocations: 85.2 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006862/0.1601, allocations: 0.5994 MB / 487.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.1601, allocations: 25.7 kB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.1603, allocations: 212.3 kB / 487.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.1603, allocations: 55.2 kB / 487.9 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.1604, allocations: 37.61 kB / 487.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1606, allocations: 350.8 kB / 488.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004481/0.161, allocations: 139.9 kB / 488.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004479/0.1615, allocations: 165.5 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008602/0.1624, allocations: 289.5 kB / 488.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.1624, allocations: 3.938 kB / 488.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001006/0.1634, allocations: 360.9 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.1634, allocations: 8 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1634, allocations: 4.141 kB / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.1635, allocations: 0 / 489.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.1638, allocations: 67.88 kB / 489.3 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1638, allocations: 11.98 kB / 489.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.1641, allocations: 35.95 kB / 489.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1641, allocations: 8.203 kB / 489.3 MB, free: 11.42 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.000199/0.1643, allocations: 189.7 kB / 489.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.1644, allocations: 39.47 kB / 489.5 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.1655, allocations: 424.6 kB / 490 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1655, allocations: 4.094 kB / 490 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1655, allocations: 3.938 kB / 490 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1656, allocations: 0 / 490 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.1672, allocations: 0.9112 MB / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1673, allocations: 0 / 490.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.1676, allocations: 67.94 kB / 490.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.1676, allocations: 4 kB / 490.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1676, allocations: 0 / 490.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.1676, allocations: 3.938 kB / 490.9 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.1676, allocations: 7.938 kB / 491 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.1688, allocations: 0.5278 MB / 491.5 MB, free: 9.164 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.169, allocations: 136.6 kB / 491.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.169, allocations: 0 / 491.6 MB, free: 9.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.1693, allocations: 35.95 kB / 491.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.92e-05/0.1695, allocations: 23.91 kB / 491.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.1695, allocations: 8 kB / 491.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005825/0.1701, allocations: 451 kB / 492.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1701, allocations: 0 / 492.1 MB, free: 8.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003966/0.1705, allocations: 59.91 kB / 492.2 MB, free: 8.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.002369/0.1729, allocations: 1.358 MB / 493.5 MB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009778/0.1738, allocations: 311.6 kB / 493.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1739, allocations: 0 / 493.8 MB, free: 6.898 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00048/0.1743, allocations: 171.9 kB / 494 MB, free: 6.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006069/0.175, allocations: 49.48 kB / 494.1 MB, free: 6.684 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/0.182, allocations: 4.454 MB / 498.5 MB, free: 2.129 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004715/0.1824, allocations: 0.8143 MB / 499.3 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002117/0.1827, allocations: 74.55 kB / 499.4 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.1829, allocations: 115.4 kB / 499.5 MB, free: 1.105 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.1829, allocations: 4 kB / 499.5 MB, free: 1.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.2021, allocations: 7.323 MB / 0.495 GB, free: 9.918 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/0.2024, allocations: 257.3 kB / 0.4952 GB, free: 9.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.065/2.267, allocations: 0 / 0.4952 GB, free: 9.656 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)