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.0008674/0.0008674, allocations: 94.77 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 205.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.7 MB / 247.5 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1952/0.1952, allocations: 46.18 MB / 345.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002667/0.0002667, allocations: 8 kB / 420.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 63.56 MB / 483.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.OneSidedDerivative2D): time 0.00241/0.11, allocations: 1.719 MB / 485.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.1114, allocations: 0.7913 MB / 486.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1115, allocations: 3.938 kB / 486.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004287/0.112, allocations: 163.6 kB / 486.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004359/0.1124, allocations: 187.4 kB / 486.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.1133, allocations: 397.2 kB / 487 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.1137, allocations: 279.2 kB / 487.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001699/0.1139, allocations: 60.7 kB / 487.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.114, allocations: 99.48 kB / 487.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1142, allocations: 155.3 kB / 487.6 MB, free: 384 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.1143, allocations: 4 kB / 487.6 MB, free: 380 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1144, allocations: 39.98 kB / 487.6 MB, free: 340 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.1146, allocations: 163.5 kB / 487.8 MB, free: 176 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.1148, allocations: 200.3 kB / 488 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1151, allocations: 303.6 kB / 488.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1151, allocations: 0 / 488.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1151, allocations: 0 / 488.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1151, allocations: 0 / 488.3 MB, free: 15.67 MB / 366.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.00114/0.1163, allocations: 0.77 MB / 489 MB, free: 14.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1163, allocations: 12.88 kB / 489 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1165, allocations: 60.09 kB / 489.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006152/0.1171, allocations: 0.5082 MB / 489.6 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1171, allocations: 12.31 kB / 489.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.1171, allocations: 12.38 kB / 489.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004324/0.1176, allocations: 175.3 kB / 489.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.1176, allocations: 0 / 489.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1176, allocations: 7.984 kB / 489.8 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.1176, allocations: 8 kB / 489.8 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.1182, allocations: 163.8 kB / 490 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.1193, allocations: 0.7424 MB / 490.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.1197, allocations: 153.2 kB / 490.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.12, allocations: 97.77 kB / 491 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.12, allocations: 7.938 kB / 491 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.12, allocations: 34.56 kB / 491 MB, free: 12.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.12, allocations: 0 / 491 MB, free: 12.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002923/0.123, allocations: 0.9425 MB / 491.9 MB, free: 11.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.123, allocations: 85.09 kB / 492 MB, free: 11.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.1242, allocations: 1.043 MB / 493.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1242, allocations: 37.8 kB / 493.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.1244, allocations: 288.2 kB / 493.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.43e-05/0.1245, allocations: 55.11 kB / 493.4 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1246, allocations: 21.7 kB / 493.5 MB, free: 10.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.1247, allocations: 314 kB / 493.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.1252, allocations: 151.9 kB / 493.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000495/0.1257, allocations: 169.5 kB / 494.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009712/0.1266, allocations: 317.5 kB / 494.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1267, allocations: 0 / 494.4 MB, free: 9.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00114/0.1278, allocations: 420.6 kB / 494.8 MB, free: 8.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.1278, allocations: 4 kB / 494.8 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1278, allocations: 3.938 kB / 494.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1279, allocations: 0 / 494.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.1282, allocations: 87.92 kB / 494.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1283, allocations: 0 / 494.9 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002824/0.1285, allocations: 55.95 kB / 495 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.1286, allocations: 4 kB / 495 MB, free: 8.695 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.0002306/0.1288, allocations: 233.9 kB / 495.2 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.1289, allocations: 63.25 kB / 495.3 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/0.1302, allocations: 470.5 kB / 495.7 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1302, allocations: 4 kB / 495.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1302, allocations: 192 / 495.7 MB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1302, allocations: 3.984 kB / 495.7 MB, free: 7.918 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.132, allocations: 1.005 MB / 496.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.132, allocations: 3.984 kB / 496.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003133/0.1323, allocations: 75.94 kB / 496.8 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1324, allocations: 7.938 kB / 496.8 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1324, allocations: 4 kB / 496.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.1324, allocations: 0 / 496.8 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1324, allocations: 4.75 kB / 496.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1336, allocations: 0.5837 MB / 497.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.1337, allocations: 168.3 kB / 497.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.1338, allocations: 4 kB / 497.6 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.1341, allocations: 51.95 kB / 497.6 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.177e-05/0.1342, allocations: 23.91 kB / 497.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1343, allocations: 12 kB / 497.7 MB, free: 5.887 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000828/0.1351, allocations: 0.7723 MB / 498.4 MB, free: 5.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1351, allocations: 3.938 kB / 498.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003686/0.1355, allocations: 60 kB / 498.5 MB, free: 5.055 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.0009224/0.1364, allocations: 398.3 kB / 498.9 MB, free: 4.793 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.1375, allocations: 338.5 kB / 499.2 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1375, allocations: 0 / 499.2 MB, free: 4.465 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.138, allocations: 179.8 kB / 499.4 MB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006532/0.1387, allocations: 87.56 kB / 499.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.1402, allocations: 1.169 MB / 0.4889 GB, free: 2.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.1407, allocations: 0.8781 MB / 0.4898 GB, free: 2.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.1408, allocations: 47.42 kB / 0.4898 GB, free: 2.047 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1408, allocations: 0 / 0.4898 GB, free: 2.047 MB / 366.1 MB Notification: Performance of Templates: time 0.009857/0.1507, allocations: 6.399 MB / 0.4961 GB, free: 11.66 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)