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: translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") translateModel(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001125/0.001125, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001181/0.001181, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2085/0.2085, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 77.12 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1178, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.004399/0.1223, allocations: 1.872 MB / 483.3 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1235, allocations: 0.7053 MB / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1236, allocations: 0 / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004186/0.1241, allocations: 175.4 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000414/0.1245, allocations: 183.3 kB / 484.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000723/0.1252, allocations: 326.7 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.1255, allocations: 227.5 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.1257, allocations: 65.64 kB / 485 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.1258, allocations: 95.61 kB / 485.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.126, allocations: 147.5 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.126, allocations: 12 kB / 485.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.1261, allocations: 39.98 kB / 485.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.1263, allocations: 115.7 kB / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.1264, allocations: 123 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.1267, allocations: 294.9 kB / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1267, allocations: 0 / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1267, allocations: 0 / 485.8 MB, free: 172 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1267, allocations: 0 / 485.8 MB, free: 172 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.000853/0.1275, allocations: 0.6458 MB / 486.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.1276, allocations: 12.03 kB / 486.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.1277, allocations: 40.47 kB / 486.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.1281, allocations: 370.1 kB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.1281, allocations: 8.375 kB / 486.9 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.1281, allocations: 8.375 kB / 486.9 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000378/0.1285, allocations: 179.2 kB / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1285, allocations: 0 / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.1286, allocations: 8 kB / 487.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.1286, allocations: 4 kB / 487.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.129, allocations: 143.8 kB / 487.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.1299, allocations: 0.6566 MB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.1303, allocations: 149.2 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1305, allocations: 85.7 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.1305, allocations: 4 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1306, allocations: 30.56 kB / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1306, allocations: 0 / 488.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00229/0.1329, allocations: 0.7837 MB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.1329, allocations: 81.09 kB / 489 MB, free: 12.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.1335, allocations: 0.5839 MB / 489.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1335, allocations: 29.8 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.1337, allocations: 204.4 kB / 489.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.1337, allocations: 59.19 kB / 489.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.1338, allocations: 45.58 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1339, allocations: 354.8 kB / 490.2 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.1343, allocations: 135.8 kB / 490.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.1347, allocations: 156.4 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007619/0.1355, allocations: 297.5 kB / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1355, allocations: 0 / 490.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00088/0.1364, allocations: 376.8 kB / 491.2 MB, free: 10.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1364, allocations: 4 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1364, allocations: 4 kB / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1365, allocations: 0 / 491.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.1368, allocations: 63.94 kB / 491.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.269e-06/0.1368, allocations: 0 / 491.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.137, allocations: 39.94 kB / 491.3 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.137, allocations: 4 kB / 491.3 MB, free: 10.39 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.0002108/0.1372, allocations: 189.7 kB / 491.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.1373, allocations: 43.53 kB / 491.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1384, allocations: 416.6 kB / 491.9 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1384, allocations: 4 kB / 491.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1384, allocations: 192 / 491.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1384, allocations: 0.75 kB / 491.9 MB, free: 9.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.1399, allocations: 0.9149 MB / 492.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1399, allocations: 0 / 492.9 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/0.1402, allocations: 67.88 kB / 492.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1402, allocations: 0 / 492.9 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1402, allocations: 12 kB / 492.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1402, allocations: 0 / 492.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1402, allocations: 0 / 492.9 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009647/0.1412, allocations: 0.5331 MB / 493.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1413, allocations: 120.6 kB / 493.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.1414, allocations: 0 / 493.6 MB, free: 8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.1417, allocations: 43.94 kB / 493.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.069e-05/0.1417, allocations: 23.91 kB / 493.6 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.1418, allocations: 8 kB / 493.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.1422, allocations: 439 kB / 494.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1422, allocations: 0 / 494.1 MB, free: 7.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.1425, allocations: 59.98 kB / 494.1 MB, free: 7.438 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.0009309/0.1435, allocations: 405.7 kB / 494.5 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008734/0.1444, allocations: 303.7 kB / 494.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1444, allocations: 0 / 494.8 MB, free: 6.879 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004224/0.1448, allocations: 163.8 kB / 495 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.1453, allocations: 55.33 kB / 495.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1463, allocations: 0.7063 MB / 495.8 MB, free: 5.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.1467, allocations: 0.8143 MB / 496.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001534/0.1469, allocations: 74.53 kB / 496.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.308e-05/0.1469, allocations: 27.44 kB / 496.7 MB, free: 5 MB / 366.1 MB Notification: Performance of SimCode: time 1.472e-06/0.147, allocations: 4 kB / 496.7 MB, free: 4.996 MB / 366.1 MB Notification: Performance of Templates: time 0.00731/0.1543, allocations: 3.652 MB / 0.4886 GB, free: 1.355 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)