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.001229/0.001229, allocations: 109.6 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 212 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 46.1 MB / 344.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 76.66 kB / 418.3 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 62.44 MB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003477/0.1159, allocations: 1.869 MB / 482.6 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.1172, allocations: 0.7131 MB / 483.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1173, allocations: 0 / 483.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004435/0.1178, allocations: 171.5 kB / 483.4 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004327/0.1182, allocations: 175.3 kB / 483.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007508/0.119, allocations: 334.5 kB / 483.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.1193, allocations: 235.4 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1195, allocations: 57.66 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.1197, allocations: 99.66 kB / 484.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.1199, allocations: 151.5 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.1199, allocations: 12 kB / 484.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1201, allocations: 39.98 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.1202, allocations: 103.7 kB / 484.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.1203, allocations: 123 kB / 484.7 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1206, allocations: 287.2 kB / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1207, allocations: 0 / 485 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1207, allocations: 4 kB / 485 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.1207, allocations: 3.938 kB / 485 MB, free: 0.9531 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.0009559/0.1216, allocations: 0.6574 MB / 485.7 MB, free: 252 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1217, allocations: 8.031 kB / 485.7 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.602e-05/0.1218, allocations: 44.41 kB / 485.7 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000446/0.1222, allocations: 366.1 kB / 486.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.1223, allocations: 8.375 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1223, allocations: 8.375 kB / 486.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1228, allocations: 176.7 kB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1228, allocations: 4 kB / 486.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1228, allocations: 4 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1228, allocations: 4 kB / 486.3 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005342/0.1234, allocations: 151.8 kB / 486.5 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1244, allocations: 0.6527 MB / 487.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003976/0.1248, allocations: 153.1 kB / 487.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.1251, allocations: 81.78 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.1251, allocations: 4 kB / 487.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1251, allocations: 30.56 kB / 487.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.663e-06/0.1252, allocations: 0 / 487.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.00272/0.1279, allocations: 0.7836 MB / 488.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.128, allocations: 81.11 kB / 488.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/0.1286, allocations: 0.5839 MB / 488.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.1286, allocations: 29.7 kB / 488.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.1288, allocations: 200.3 kB / 489 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.1289, allocations: 63.12 kB / 489.1 MB, free: 12.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.141e-05/0.1289, allocations: 37.62 kB / 489.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1291, allocations: 350.8 kB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.1296, allocations: 135.9 kB / 489.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.13, allocations: 157.6 kB / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.131, allocations: 290.2 kB / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.131, allocations: 0 / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001089/0.1321, allocations: 380.8 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1321, allocations: 4 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1321, allocations: 0 / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1321, allocations: 4 kB / 490.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/0.1325, allocations: 63.92 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.1325, allocations: 4 kB / 490.5 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.1327, allocations: 43.94 kB / 490.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1328, allocations: 4 kB / 490.5 MB, free: 11.18 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.0001968/0.133, allocations: 189.7 kB / 490.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.1331, allocations: 43.52 kB / 490.8 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.1343, allocations: 412.7 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1343, allocations: 4 kB / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1343, allocations: 0 / 491.2 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1343, allocations: 3.984 kB / 491.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.136, allocations: 0.9151 MB / 492.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.136, allocations: 0 / 492.1 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.1363, allocations: 67.88 kB / 492.2 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1363, allocations: 3.984 kB / 492.2 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.1364, allocations: 8 kB / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.1364, allocations: 0 / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1364, allocations: 0 / 492.2 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1375, allocations: 0.5294 MB / 492.7 MB, free: 8.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.1376, allocations: 120.6 kB / 492.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.1377, allocations: 4 kB / 492.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.1379, allocations: 36.23 kB / 492.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.138, allocations: 27.84 kB / 492.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1381, allocations: 8 kB / 492.9 MB, free: 8.715 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004853/0.1385, allocations: 443 kB / 493.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1386, allocations: 0 / 493.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1389, allocations: 52 kB / 493.4 MB, free: 8.23 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.0009414/0.1399, allocations: 410.7 kB / 493.8 MB, free: 7.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.141, allocations: 319.6 kB / 494.1 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.141, allocations: 0 / 494.1 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005056/0.1415, allocations: 167.8 kB / 494.3 MB, free: 7.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005432/0.142, allocations: 41.55 kB / 494.3 MB, free: 7.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.1433, allocations: 0.7385 MB / 495 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.1437, allocations: 0.8103 MB / 495.8 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1438, allocations: 35.42 kB / 495.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1438, allocations: 3.938 kB / 495.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of Templates: time 0.007856/0.1517, allocations: 4.66 MB / 0.4888 GB, free: 1.16 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 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1)