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.000777/0.0007769, allocations: 96.5 kB / 18.01 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.0008539/0.0008539, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1927/0.1927, allocations: 46.18 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002742, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.107, allocations: 63.56 MB / 483.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.002662/0.1098, allocations: 1.584 MB / 485.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.1114, allocations: 0.686 MB / 486 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1116, allocations: 8 kB / 486 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.1122, allocations: 163.6 kB / 486.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.1126, allocations: 155.5 kB / 486.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.1135, allocations: 313.8 kB / 486.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.1139, allocations: 223.4 kB / 486.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.114, allocations: 45.67 kB / 486.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.1142, allocations: 91.59 kB / 487 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1144, allocations: 127.6 kB / 487.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.1144, allocations: 8 kB / 487.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1145, allocations: 32 kB / 487.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.1147, allocations: 99.72 kB / 487.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1148, allocations: 144.7 kB / 487.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1151, allocations: 203.9 kB / 487.6 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1151, allocations: 0 / 487.6 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1151, allocations: 0 / 487.6 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1151, allocations: 0 / 487.6 MB, free: 312 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.0009083/0.116, allocations: 0.6304 MB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1161, allocations: 8.875 kB / 488.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.1162, allocations: 36.47 kB / 488.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.1166, allocations: 362.2 kB / 488.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1166, allocations: 12.36 kB / 488.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1167, allocations: 16.28 kB / 488.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.1171, allocations: 191.3 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1172, allocations: 7.984 kB / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1172, allocations: 0 / 488.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1172, allocations: 4 kB / 488.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005618/0.1178, allocations: 183.7 kB / 489 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009884/0.1188, allocations: 0.6682 MB / 489.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.1192, allocations: 173.1 kB / 489.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.1195, allocations: 101.8 kB / 490 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.1195, allocations: 0 / 490 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.1196, allocations: 38.56 kB / 490 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.1196, allocations: 0 / 490 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=18): time 0.002924/0.1225, allocations: 0.9282 MB / 490.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.1226, allocations: 85.03 kB / 491 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006365/0.1232, allocations: 0.5839 MB / 491.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.1232, allocations: 25.7 kB / 491.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1234, allocations: 200.4 kB / 491.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.855e-05/0.1235, allocations: 55.11 kB / 491.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1235, allocations: 17.72 kB / 491.9 MB, free: 11.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1237, allocations: 358.8 kB / 492.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005016/0.1242, allocations: 164 kB / 492.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/0.1247, allocations: 197.5 kB / 492.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009881/0.1257, allocations: 357.4 kB / 492.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.1257, allocations: 0 / 492.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00113/0.1268, allocations: 440.7 kB / 493.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1269, allocations: 8 kB / 493.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1269, allocations: 0.75 kB / 493.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.1269, allocations: 0 / 493.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.1272, allocations: 87.92 kB / 493.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1273, allocations: 4.094 kB / 493.5 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.1275, allocations: 51.95 kB / 493.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1275, allocations: 8 kB / 493.5 MB, free: 10.1 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.0001828/0.1277, allocations: 189.7 kB / 493.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.1278, allocations: 39.53 kB / 493.7 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.1291, allocations: 480.8 kB / 494.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1291, allocations: 0 / 494.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.1292, allocations: 11.86 kB / 494.2 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1292, allocations: 4 kB / 494.2 MB, free: 9.371 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.1309, allocations: 0.9778 MB / 495.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1309, allocations: 0 / 495.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.1313, allocations: 91.86 kB / 495.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1313, allocations: 0 / 495.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1313, allocations: 3.984 kB / 495.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1313, allocations: 4 kB / 495.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1313, allocations: 0 / 495.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.1325, allocations: 0.5977 MB / 495.9 MB, free: 7.625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.1326, allocations: 124.6 kB / 496 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.1327, allocations: 7.984 kB / 496 MB, free: 7.477 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003218/0.133, allocations: 55.95 kB / 496.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.1331, allocations: 23.91 kB / 496.1 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1331, allocations: 4 kB / 496.1 MB, free: 7.395 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004569/0.1336, allocations: 443.1 kB / 496.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1336, allocations: 0 / 496.5 MB, free: 6.965 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003477/0.1339, allocations: 52 kB / 496.6 MB, free: 6.914 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.0009174/0.1349, allocations: 394.2 kB / 497 MB, free: 6.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001115/0.136, allocations: 375.6 kB / 497.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.136, allocations: 4 kB / 497.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000534/0.1365, allocations: 195.8 kB / 497.5 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.1371, allocations: 47.41 kB / 497.6 MB, free: 6.055 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1382, allocations: 0.8251 MB / 498.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.1386, allocations: 0.8184 MB / 499.2 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1388, allocations: 27.44 kB / 499.3 MB, free: 4.324 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1388, allocations: 0 / 499.3 MB, free: 4.324 MB / 366.1 MB Notification: Performance of Templates: time 0.007444/0.1462, allocations: 4.609 MB / 0.4921 GB, free: 15.73 MB / 382.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)