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.001143/0.001143, allocations: 115.4 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001226, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2163/0.2163, allocations: 46.1 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 75.38 kB / 417.2 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.123, allocations: 62.45 MB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003901/0.1269, allocations: 2.058 MB / 481.7 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1286, allocations: 0.8028 MB / 482.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.1288, allocations: 0 / 482.5 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1293, allocations: 167.6 kB / 482.6 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000564/0.1299, allocations: 187.4 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009269/0.1309, allocations: 401.2 kB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.1313, allocations: 295.2 kB / 483.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.1314, allocations: 56.72 kB / 483.6 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1316, allocations: 127.5 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1319, allocations: 167.3 kB / 483.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1319, allocations: 16 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.132, allocations: 43.98 kB / 483.9 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.1322, allocations: 167.5 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1324, allocations: 194.4 kB / 484.3 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005064/0.1329, allocations: 434.6 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.133, allocations: 4 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.133, allocations: 0 / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.133, allocations: 0 / 484.7 MB, free: 452 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.001599/0.1346, allocations: 0.8627 MB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.1346, allocations: 12.03 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.236e-05/0.1347, allocations: 38.73 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.1348, allocations: 60.19 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006866/0.1355, allocations: 0.5237 MB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1355, allocations: 8.375 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1356, allocations: 16.28 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004393/0.136, allocations: 155.1 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1361, allocations: 3.938 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.1361, allocations: 4 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1361, allocations: 11.98 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004823/0.1366, allocations: 123.9 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1378, allocations: 0.7541 MB / 487.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.1382, allocations: 145.1 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.1385, allocations: 73.78 kB / 487.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.1385, allocations: 7.984 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.1386, allocations: 34.56 kB / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.1386, allocations: 0 / 487.5 MB, free: 13.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002719/0.1413, allocations: 0.8212 MB / 488.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1414, allocations: 81.11 kB / 488.4 MB, free: 12.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/0.1428, allocations: 1.071 MB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.1429, allocations: 25.7 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.1431, allocations: 296.2 kB / 489.8 MB, free: 11.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.1432, allocations: 63.08 kB / 489.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.1433, allocations: 29.72 kB / 489.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1434, allocations: 322 kB / 490.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.1439, allocations: 115.9 kB / 490.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004325/0.1443, allocations: 140.2 kB / 490.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.1451, allocations: 261.5 kB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1451, allocations: 3.938 kB / 490.7 MB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009943/0.1461, allocations: 348.6 kB / 491 MB, free: 9.801 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.1462, allocations: 4 kB / 491 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1462, allocations: 0 / 491 MB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1462, allocations: 4 kB / 491 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.1466, allocations: 67.88 kB / 491.1 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.1466, allocations: 3.984 kB / 491.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.1469, allocations: 39.95 kB / 491.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.1469, allocations: 4 kB / 491.2 MB, free: 9.68 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.0002342/0.1471, allocations: 225.7 kB / 491.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.1473, allocations: 67.16 kB / 491.4 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.1484, allocations: 403 kB / 491.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.1484, allocations: 7.938 kB / 491.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1484, allocations: 0 / 491.8 MB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1484, allocations: 4.734 kB / 491.9 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.1501, allocations: 0.9541 MB / 492.8 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1501, allocations: 8 kB / 492.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.1504, allocations: 55.94 kB / 492.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.1504, allocations: 7.984 kB / 492.9 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.1505, allocations: 8 kB / 492.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.1505, allocations: 4.281 kB / 492.9 MB, free: 7.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.1505, allocations: 3.938 kB / 492.9 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1515, allocations: 0.5212 MB / 493.4 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/0.1517, allocations: 164.3 kB / 493.6 MB, free: 7.152 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.1518, allocations: 4 kB / 493.6 MB, free: 7.148 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.1521, allocations: 35.95 kB / 493.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.1522, allocations: 23.91 kB / 493.6 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.1522, allocations: 8 kB / 493.6 MB, free: 7.082 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008395/0.1531, allocations: 0.788 MB / 494.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1531, allocations: 0 / 494.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003714/0.1535, allocations: 63.98 kB / 494.5 MB, free: 6.234 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.002238/0.1557, allocations: 1.366 MB / 495.9 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009444/0.1567, allocations: 283.6 kB / 496.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1567, allocations: 0 / 496.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.1572, allocations: 147.8 kB / 496.3 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.1578, allocations: 85.06 kB / 496.4 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/0.167, allocations: 6.421 MB / 0.491 GB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/0.1676, allocations: 0.8893 MB / 0.4919 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.1679, allocations: 95.28 kB / 0.492 GB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002805/0.1682, allocations: 183.4 kB / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.1682, allocations: 0 / 0.4921 GB, free: 12.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.1931, allocations: 10.99 MB / 0.5029 GB, free: 1.902 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.1933, allocations: 261.1 kB / 0.5031 GB, free: 1.641 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/2.382, allocations: 0 / 0.5031 GB, free: 1.641 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)