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: translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001411/0.001411, allocations: 109.1 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001655/0.001655, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.3 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 75.38 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1107, allocations: 62.44 MB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.003679/0.1144, allocations: 2.073 MB / 482 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1158, allocations: 0.8067 MB / 482.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.1159, allocations: 4 kB / 482.8 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004818/0.1164, allocations: 159.6 kB / 483 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.1168, allocations: 191.3 kB / 483.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.1176, allocations: 393.1 kB / 483.5 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003151/0.1179, allocations: 287.2 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.1181, allocations: 56.64 kB / 483.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1182, allocations: 107.5 kB / 484 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001868/0.1184, allocations: 163.3 kB / 484.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1184, allocations: 12 kB / 484.2 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.1185, allocations: 43.92 kB / 484.2 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1187, allocations: 167.5 kB / 484.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.1189, allocations: 178.5 kB / 484.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.1192, allocations: 311.7 kB / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1192, allocations: 0 / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1192, allocations: 0 / 484.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1192, allocations: 0 / 484.8 MB, free: 0.793 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.001131/0.1203, allocations: 0.8318 MB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1204, allocations: 8.875 kB / 485.7 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.1205, allocations: 60.19 kB / 485.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006007/0.1211, allocations: 0.5042 MB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.1211, allocations: 4.375 kB / 486.2 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.1212, allocations: 12.38 kB / 486.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.1216, allocations: 167.2 kB / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1216, allocations: 0 / 486.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1216, allocations: 8 kB / 486.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1216, allocations: 7.875 kB / 486.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00049/0.1221, allocations: 135.9 kB / 486.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1231, allocations: 0.7307 MB / 487.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.1235, allocations: 137.1 kB / 487.4 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.1238, allocations: 77.78 kB / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.1238, allocations: 0 / 487.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.1238, allocations: 42.55 kB / 487.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1238, allocations: 0 / 487.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002561/0.1264, allocations: 0.8022 MB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.1265, allocations: 85.09 kB / 488.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.1276, allocations: 1.051 MB / 489.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.1276, allocations: 25.7 kB / 489.5 MB, free: 11.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1279, allocations: 280.3 kB / 489.8 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.117e-05/0.1279, allocations: 59.09 kB / 489.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.128, allocations: 33.72 kB / 489.9 MB, free: 11.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1281, allocations: 314 kB / 490.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004372/0.1285, allocations: 123.9 kB / 490.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004171/0.129, allocations: 129.6 kB / 490.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.1298, allocations: 261.4 kB / 490.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1298, allocations: 224 / 490.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009685/0.1308, allocations: 356.6 kB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1308, allocations: 10.28 kB / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1308, allocations: 192 / 491 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1308, allocations: 4 kB / 491 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.1312, allocations: 71.8 kB / 491.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1312, allocations: 0 / 491.1 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1315, allocations: 39.95 kB / 491.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.1315, allocations: 8 kB / 491.2 MB, free: 10.2 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.0002177/0.1317, allocations: 225.7 kB / 491.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.1318, allocations: 59.25 kB / 491.4 MB, free: 9.906 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.1329, allocations: 402.4 kB / 491.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1329, allocations: 8 kB / 491.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1329, allocations: 0 / 491.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1329, allocations: 0 / 491.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.1345, allocations: 0.9346 MB / 492.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1345, allocations: 0 / 492.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.1348, allocations: 71.92 kB / 492.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1349, allocations: 4 kB / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1349, allocations: 0 / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1349, allocations: 0 / 492.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.1349, allocations: 4 kB / 492.9 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1359, allocations: 0.5213 MB / 493.4 MB, free: 7.887 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.1361, allocations: 152.3 kB / 493.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.176e-05/0.1361, allocations: 3.984 kB / 493.5 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/0.1364, allocations: 40.33 kB / 493.6 MB, free: 7.676 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.1365, allocations: 23.91 kB / 493.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.1365, allocations: 4 kB / 493.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007823/0.1373, allocations: 0.7724 MB / 494.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1373, allocations: 0 / 494.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003676/0.1377, allocations: 63.98 kB / 494.4 MB, free: 6.816 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.000939/0.1386, allocations: 420 kB / 494.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009321/0.1396, allocations: 271.7 kB / 495.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1396, allocations: 0 / 495.1 MB, free: 6.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.14, allocations: 143.8 kB / 495.2 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006476/0.1407, allocations: 82.94 kB / 495.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1422, allocations: 1.168 MB / 496.5 MB, free: 4.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.1426, allocations: 0.882 MB / 497.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.1428, allocations: 43.42 kB / 497.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1428, allocations: 0 / 497.4 MB, free: 3.891 MB / 366.1 MB Notification: Performance of Templates: time 0.009067/0.1518, allocations: 6.479 MB / 0.4921 GB, free: 13.43 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D.pipe 2>&1)